[gdal-dev] Example NITF files with TRE

Brad Hards bradh at frogmouth.net
Tue May 5 14:59:47 PDT 2020

I assume you know gdal already has a parser, and that for some commercial or technical reason you need to write your own.

My test resources are at https://github.com/codice/imaging-nitf/tree/master/shared-test-resources/src/main/resources - clearly some overlap with yours. 

I'm not aware of any (public) use of RES, and there will be TREs and DES that are never public.
You might need to use gdal (or my equivalent approach) to create files for some of the newer TREs/DESs (e.g. those using gzip compression).


-----Original Message-----
From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> On Behalf Of Doug Gastonguay-Goddard
Sent: Wednesday, 6 May 2020 7:27 AM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] Example NITF files with TRE

Hey, I have gotten pretty good coverage from Spacenet, WPAFB-2009, and the Geospatial Working Group test files. I am wondering if anyone has a public source for NITF files with DES, RES, or TRE. I am writing a parser and it is always nice to have an example to validate my interpretation of the spec.

There might be some in the datasets I have that I missed. I know there is a trailing header example I have not gotten to supporting yet.

gdal-dev mailing list
gdal-dev at lists.osgeo.org

More information about the gdal-dev mailing list