[gdal-dev] NITF TRE parsing - possible extensions for MIE4NITF
Brad Hards
bradh at frogmouth.net
Sun Aug 28 15:41:18 PDT 2016
> > Sorry, should have linked to those in the initial email. In the spec
> > (above), see
> > 5.9.3.6 Freespace TRE (FREESA)
> > 5.9.4.8 Frame-Synchronous Metadata Wrapper TRE (FSYNWA)
> > 5.9.4.9 Frame-Asynchronous Metadata Wrapper TRE (FASYWA)
> >
> > I would caution that it's a bit confusing the first time.
>
> OK, that's clearer with the doc. When you say "I'm planning to open code the
> FSYNWA / FASYWA case", do you mean hard-code ? Sounds OK. Could still be
> retrofitted later into something more general purpose if such constructs are
> found to be common.
Yes to the question about hard-coding it.
I haven't look into the nitffile.c enough to have a patch, but the two wrapper
TREs should be similar, except for the labelling.
I'll keep the handling in a separate function to make it easier to handle in
the future if needed.
Brad
More information about the gdal-dev
mailing list