[gdal-dev] Decimal places of output in cs2cs

2014-01-16 Thread ludwig.hilger
hello everybody, I know that this is probably a ridiculously simple question, but I a rather new to the syntax and have tried this for about 2 hours now. I want to reproject decimal coordinates in epsg 4326 to 25832 and I want the output values to have three decimal places instead of 2. I have tri

Re: [gdal-dev] Bigger file size from 64-bit than 32-bit

2014-01-16 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > > What should be determined is if the problem is on the read side (JPEG 2000 > decoding) or at the write side (JPEG in TIFF compression). Perhaps you could > translate to uncompressed TIFF. My feeling is that the problem must be on the > read side and tha

Re: [gdal-dev] python script not working

2014-01-16 Thread Sean Gillies
Dennis, You either have to know the absolute path to gdal_polygonize.py or have its location on your system path to make that work. And I also recommend the subprocess module instead of the deprecated os.system. import subprocess subprocess.check_output( ['/PATH/TO/gdal_polygo

[gdal-dev] python script not working

2014-01-16 Thread Dennis Burgess
Runing a command to do a gdal_polygonize, the gdal_translate and org2org functions work just ifne, just not poloygoize..?? os.system('gdal_polygonize tmp.4.vrt -f KML tmp.5.kml') I get : python: can't open file '\bin\gdal_polygonize.py';: error 2, no such file or directory any thoug

Re: [gdal-dev] Bigger file size from 64-bit than 32-bit

2014-01-16 Thread Joaquim Luis
I converted with my own gdal64 build (not sure what driver was used to read the .jp2 file) and the file is fine, with a size very close to the 32 bit one. 16-01-2014 15:03 9.824.833 g64bit.tif 16-01-2014 15:00 9.843.738 gdal_translate_32bit.TIF Joaquim Selon Jukka Rahkonen:

Re: [gdal-dev] Bigger file size from 64-bit than 32-bit

2014-01-16 Thread Even Rouault
Selon Jukka Rahkonen : > Even Rouault mines-paris.org> writes: > > > --> ouch ! I fail to see any reason why the on-disk format would be > affected by > > 32 vs 64 bit. You could run "tiffdump" on the generated images to see the > offset > > and size of the tiles. What is surprising is that the 3

Re: [gdal-dev] Bigger file size from 64-bit than 32-bit

2014-01-16 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > --> ouch ! I fail to see any reason why the on-disk format would be affected by > 32 vs 64 bit. You could run "tiffdump" on the generated images to see the offset > and size of the tiles. What is surprising is that the 32 bit JPEG TIF is smaller > than the

Re: [gdal-dev] Bigger file size from 64-bit than 32-bit

2014-01-16 Thread Iván Sánchez Ortega
El Jueves, 16 de enero de 2014 13:52:37 Jukka Rahkonen escribió: > Samples can be downloaded from > > http://latuviitta.org/downloads/FLPIS_K003412.jp2 (18 MB, original JP2) > http://latuviitta.org/downloads/gdal_translate_32bit.TIF (9.6 MB) > http://latuviitta.org/downloads/gdal_translate_64bit.t

Re: [gdal-dev] Bigger file size from 64-bit than 32-bit

2014-01-16 Thread Even Rouault
Hi Jukka, > Hi, > > What could be the reason that Windows 64-bit gdal_translate makes many times > bigger jpeg compressed tiff files than 32-bit build? I have not made a > thorough analysis but I feel that this happens only with B/W images. > > My command is simple > gdal_translate -of GTiff -co t

Re: [gdal-dev] Bigger file size from 64-bit than 32-bit

2014-01-16 Thread Iván Sánchez Ortega
El Jueves, 16 de enero de 2014 13:52:37 Jukka Rahkonen escribió: > What could be the reason that Windows 64-bit gdal_translate makes many times > bigger jpeg compressed tiff files than 32-bit build? I have not made a > thorough analysis but I feel that this happens only with B/W images. > Builds I

[gdal-dev] Bigger file size from 64-bit than 32-bit

2014-01-16 Thread Jukka Rahkonen
Hi, What could be the reason that Windows 64-bit gdal_translate makes many times bigger jpeg compressed tiff files than 32-bit build? I have not made a thorough analysis but I feel that this happens only with B/W images. My command is simple gdal_translate -of GTiff -co tiled=yes -co compress=jpe