Hi! I just noticed that gdalinfo reports the NoData value as 255.0 in JSON
output, but as 255 in the default text output. Why is there a difference?

$ gdalinfo -json 8812.tif | jq '.bands[0]["noDataValue"]'
255.0

$ gdalinfo 8812.tif
...
Band 1 Block=256x256 Type=Byte, ColorInterp=Gray
  NoData Value=255
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to