Hello,

I stumbled across what appears to me as an typo in the gdal_translate function implemented in QGIS 3.18.2. I performed a translation from a geotiff to a surfer (non-binary) .grd file without a specification of a NODATA-Value.

In the resulting .grd-file the NODATA value was 1.70141E+38.
But according to http://surferhelp.goldensoftware.com/topics/ascii_grid_file_format.htm
the correct NODATA value for this filetype has to be 1.71041E+38.

I don't feel skilled enough to fix this bug on my own (even don't know if I could do this =o), so please feel free to check and fix if necessary.

Cheers
Felix

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to