[gdal-dev] gdal_rasterize processed GTiff filesize question
Andrey VI
andrey_vi at list.ru
Tue Mar 19 23:04:59 PDT 2024
Hi, Even.
Using both options "-optim raster" and "-optim vector" results in the same size files. This is expected, since, as follows from the option description, it only affects the rasterization algorithm.
>Wednesday, March 20, 2024 1:04 AM +03:00 from Even Rouault <even.rouault at spatialys.com>:
>
>
>Le 19/03/2024 à 22:56, Rahkonen Jukka via gdal-dev a écrit :
>>Hi,
>>
>>I suppose that something similar than with gdalwarp https://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp#GeoTIFFoutput-coCOMPRESSisbroken happens but with gdal_rasterize I think there are no tricks that could help.
>Actually the -optim switch may help: https://gdal.org/programs/gdal_rasterize.html#cmdoption-gdal_rasterize-optim
>I suspect "-optim raster" is what you would want to optimize raster size
>--
>http://www.spatialys.com
>My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240320/0e7f405b/attachment.htm>
More information about the gdal-dev
mailing list