[gdal-dev] Adding a subdataset to a NITF

Even Rouault even.rouault at mines-paris.org
Fri Jul 8 15:46:56 EDT 2011


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


More information about the gdal-dev mailing list