[gdal-dev] Return from Set/GetNoDataValue
Even Rouault
even.rouault at spatialys.com
Tue Sep 5 05:27:33 PDT 2017
Hi Andrew,
> Perhaps this is a documentation issue,
I think this is mostly an implementation issue in a niche driver. The changeset that
introduced this ( https://trac.osgeo.org/gdal/changeset/21821 ) isn't very verbose of the
motivation. I suspect that the intent was to benefit from PAM for a few things, but not
wanting to generate a .aux.xml file when SetNoDataValue() is called.
I've changed this in https://trac.osgeo.org/gdal/changeset/40003 to use the PAM
.aux.xml file to laod non-default nodata value on GetNoDataValue(), and write into PAM
on SetNoDataValue() if the value is different than the default one. Should be a
reasonable compromise on the presumed original intent.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170905/b9422d11/attachment.html>
More information about the gdal-dev
mailing list