[gdal-dev] CreateCopy() works great on some NITF, not on others

Cole, Derek dcole at integrity-apps.com
Wed Jul 13 19:03:45 EDT 2011


Hello,

As I have mentioned in earlier threads, I have been using GDAL to read NITF and make copies of some files.

In particular, I have been creating NITFs copy with 2 images in them, from the original.

This seems to work good for one NITF, but for another I am getting some problems. It seems like the one with the problems gets a copy created, but the images themselves are just all black.

What kinds of things can I investigate to see why this may be happening?  Things looks fairly normal in the gdalinfo of the two files - but perhaps it is something I am missing.

The NITF that is giving the problem was exported as a NITF from a TIFF using Envi - whereas the other was generated for me by someone else. Is there perhaps a setting there I am not doing right?


Thanks

Derek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110713/51d28790/attachment.html


More information about the gdal-dev mailing list