[gdal-dev] gdal_translate: set the CRS makes the output 10 times bigger

Andrés Maneiro amaneiro at icarto.es
Thu Jun 2 14:35:57 EDT 2011


On 02/06/11 20:32, Even Rouault wrote:
> Le jeudi 02 juin 2011 20:28:42, Andrés Maneiro a écrit :
>> Thanks Even for the response, I suppose it has to do with your
>> suggestions, but I don't know why, as I don't see any compression
>> algorithm within gdalinfo output :/
>
> ok, so it is well NBITS = 1 and actually uncompressed, and with 64x64 tiles.
>
> So try :
>
> gdal_translate -a_srs "EPSG:23029" original.tif output.tif -co NBITS=1 -co
> TILED=YES -co BLOCKXSIZE=64 -co BLOCKYSIZE=64
>
> output.tif should have a similar size to  original.tif

yep, that's it!

thanks even

best,
amaneiro


More information about the gdal-dev mailing list