[gdal-dev] Adding a subdataset to a NITF

Cole, Derek dcole at integrity-apps.com
Fri Jul 8 18:40:19 EDT 2011


Perfect. I guess I missed this, digging around in the API instead of the format specification!

Thanks! 

-----Original Message-----
From: Even Rouault [mailto:even.rouault at mines-paris.org] 
Sent: Friday, July 08, 2011 3:47 PM
To: gdal-dev at lists.osgeo.org
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


More information about the gdal-dev mailing list