[gdal-dev] gdal_rasterize parameters not working

Scott public at postholer.com
Mon Jul 3 09:08:59 PDT 2023


You're using the -tr and -ts. You can only use one or the other, not both.

On 7/3/23 07:35, Clive Swan wrote:
> I am trying to create a heatmap from a Shp Point feature.
> The output is doesn’t cover the Shp??
> 
> I entered the following gdal gdal_rasterize parameters.
> 
> gdal_rasterize
> 
> -a hazard_l_1
> 
>   -te -4.822014 52.517355  1.757978  55.779307
> 
> -tr 0.1     0.1
> 
> -ts 2035 2069
> 
> "C:\Temp\PROJECTS\CCRT\ClimateChangeFME\Modelling\UK\Shp\Coastal\Coastal_Flooding_2000.shp" "C:\Temp\PROJECTS\CCRT\ClimateChangeFME\Modelling\UK\Maps\coastal_2000.tif"
> 
> It doesn’t use the field from -a hazard >> 52 to 82??
> 
> The Raster doesn’t cover the UK??
> The raster should only cover the UK.
> 
> Any suggestions you would recommend to use??
> 
> 
> Thanks
> Clive
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list