using NaN as no-data value

Javier Jimenez Shaw via gdal-dev <[email protected]>
Newsgroups gmane.comp.gis.gdal.devel
Message-ID <CADRrdKtaunum3NnW9ps5sX8qpmAD=i2rPT1N16RCB8R3FJU4eQ@mail.gmail.com>
Hi

I have seen some GeoTIFFs for DSMs (float32) with NaN as no-data value. It
was not set in the metadata, but worked as that. I think I have also seen
it with NaN set in the metadata.
Also many other numbers as no-data value, like -10000 or -9999 or -8888
(yes, and many other posible values).

Is there any reason to prefer or discourage NaN as a no-data value for a
float32 GeoTIFF?

Thank you
Javier

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.