[gdal-dev] PAM & nodata values

Matt Klaric matt at diglib1.cecs.missouri.edu
Tue Sep 30 14:27:01 EDT 2008


I'm attempting to set the nodata value on an NITF image and then
subsequently read this nodata value back out of the image.  However this
read fails to find the newly set nodata value.  See the attached source
code and an example image.  You can see that the nodata value is being
set for (the first band of) the image in the PAM XML file.  

Any ideas?

FYI....I'm using version 1.5.2.  

Thanks,
Matt Klaric

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cpp
Type: text/x-c++src
Size: 1563 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080930/16765a35/test-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mosaic-test-5x5.ntf
Type: application/octet-stream
Size: 879 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080930/16765a35/mosaic-test-5x5-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mosaic-test-5x5.ntf.aux.xml
Type: application/xml
Size: 2123 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080930/16765a35/mosaic-test-5x5.ntf.aux-0001.rdf


More information about the gdal-dev mailing list