Hi, What coordinate system and extent ogrinfo reports with ogrinfo -al -so "C:\Temp\PROJECTS\CCRT\ClimateChangeFME\Modelling\UK\Shp\Coastal\Coastal_Flooding_2000.shp" What coordinate system and extent gdalinfo reports with gdalinfo "C:\Temp\PROJECTS\CCRT\ClimateChangeFME\Modelling\UK\Maps\coastal_2000.tif"
Did the coastal_2000.tif exist already or was it created by gdal_rasterize? Have you been thinking that the default datatype in the result is Float64 https://gdal.org/programs/gdal_rasterize.html#cmdoption-gdal_rasterize-ot and that the whole range 52 to 82 in the source data is very, very close to the black end of the target TIFF? Without LUT stretch the result looks certainly all black in image viewers. -Jukka Rahkonen- Lähettäjä: gdal-dev <[email protected]> Puolesta Clive Swan Lähetetty: maanantai 3. heinäkuuta 2023 17.36 Vastaanottaja: [email protected] Aihe: [gdal-dev] gdal_rasterize parameters not working 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 [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
