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.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to