Perfect. I guess I missed this, digging around in the API instead of the format specification!
Thanks! -----Original Message----- From: Even Rouault [mailto:[email protected]] Sent: Friday, July 08, 2011 3:47 PM To: [email protected] Cc: Cole, Derek Subject: Re: [gdal-dev] Adding a subdataset to a NITF Le vendredi 08 juillet 2011 21:41:43, Cole, Derek a écrit : > Hello list, > > I have been reading through the documentation to see if it is possible > to add a subdataset to a format that supports it (NITF). It seems like > based on the data model it is possible to read those by extracting the > name and then reading it as normal as if that was the file name. Is > there any ability to write a subdataset into a file? You can create a multi image/subdataset file at Create() time with the NUMI creation option. See the doc in http://gdal.org/frmt_nitf.html Then when you open the subdataset in GA_Update mode, you can write the imagery in it > > Derek
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
