[gdal-dev] getting "FL" (filelength) metadata field out of NITF file header

Dan hagrdan at gmail.com
Mon Dec 7 18:42:09 EST 2009


Thanks, Frank.  In case anyone has this question and stumbles on this,
the FL field is stored in bytes 342 - 354 (0 based) in the NTF file,
so can be easily read and parsed manually.  I'll keep using GDAL for
all the other stuff though! :-)
Dan


On Mon, Dec 7, 2009 at 3:55 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> Dan wrote:
>>
>> Hi,
>> Brand new to GDAL, and I'm using GDAL under SWIG's C# wrapper to read
>> metadata out of nitf files using the GetMetaData("") command.  It's
>> going very well in general.
>>
>> If this is a dumb question, please forgive me.  There is a field "FL"
>> (FileLength) in the NITF spec, but this field is not in the set of
>> values passed back from this command, or at least it doesn't come back
>> using the stock command.
>>
>> Is there another way to get the "FL" data back from a NITF file using
>> GDAL?
>
> Dan,
>
> I don't see any sign of this being preserved currently as GDAL level
> metadata.   Sorry.
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
>


More information about the gdal-dev mailing list