OSGeo / libgeotiff

Official repository of the libgeotiff project
180 stars 69 forks source link

gdal nodata #43

Closed GeorgeSpoelstra closed 3 years ago

GeorgeSpoelstra commented 3 years ago

Can somebody explain to me why the latest release no longer supports the gdal nodata tag?

rouault commented 3 years ago

libgeotiff has never explicitly supported the gdal nodata tag ? What exactly did you do and what would have changed between libgeotiff releases ?

GeorgeSpoelstra commented 3 years ago

Thanks for the quick response. Nothing special. I was porting some old code to 64bit. Long time ago I built libgeotiff and have used the nodata tag since. I decided to just take the binaries this time and noticed the "unknown tag" warning. So I downloaded the latest release of libgeotiff just to find out that the nodata tag was not present in xtiffio. I added it again so it works for me but I was just curious why it was removed. Judging by your response I must have used some old sources in the past that did include the nodata tag as I myself never added it.
I like the explicit definition of nodata instead of relying on private definitions and always wondered why it is is not standardized