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