[gdal-dev] Re: strange behaviour with gdalwarp and LZW compression

Eli Adam eadam at co.lincoln.or.us
Tue Mar 6 18:48:39 EST 2012


Reading further, I learn about OPTIMIZE_SIZE,
http://gdal.org/structGDALWarpOptions.html#a0ed77f9917bb96c7a9aabd73d4d06e08

Can OPTIMIZE_SIZE be set from the command line?

Eli

On Tue, Mar 6, 2012 at 3:41 PM, Eli Adam <eadam at co.lincoln.or.us> wrote:
> Stefano,
>
>      I think that is expected.  You can read a little more about it
> and a recommended work around (VRT) here,
> http://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp#GeoTIFFoutput-coCOMPRESSisbroken
>
> Bests, Eli
>
>>> The problem arise if I insert the options -co COMPRESS=LZW at the
>>> warping. The process end successfully but the resulting geotiff is 6
>>> times the size of the original one!
>>>


More information about the gdal-dev mailing list