Il 06/10/2025 09:59, Andrey VI via gdal-dev ha scritto:
Hello.
A few years ago a command like this:
gdal_rasterize -burn 0 shape.shp hillshade.tif
worked.
Hi Andrey VI,
probably such command worked because the hillshade.tif files already
existed.
If the output raster file doesn't exist (i.e. you want to create a new
raster file), then "the resolution or size must be specified using the
-tr or -ts option", as explained in the gdal_rasterize docs.
Andrea
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev