[gdal-dev] Bug report gdal_translate

Dr. Felix Tritschler Tritschler at Hydro-Consult.de
Mon Nov 1 23:32:04 PDT 2021


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



More information about the gdal-dev mailing list