[gdal-dev] Re: strange behaviour with gdalwarp and LZW compression
Even Rouault
even.rouault at mines-paris.org
Tue Mar 6 18:50:48 EST 2012
Le mercredi 07 mars 2012 00:48:39, Eli Adam a écrit :
> Reading further, I learn about OPTIMIZE_SIZE,
> http://gdal.org/structGDALWarpOptions.html#a0ed77f9917bb96c7a9aabd73d4d06e0
> 8
>
> Can OPTIMIZE_SIZE be set from the command line?
Yes, this is a Warping Option, so you can specify it with the -wo
OPTIMIZE_SIZE=YES option
>
> 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-coCOMPRES
> > Sisbroken
> >
> > 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!
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list