[gdal-dev] NSIF with GDAL
Even Rouault
even.rouault at spatialys.com
Mon Aug 31 02:42:16 PDT 2015
Le lundi 31 août 2015 11:21:51, vous avez écrit :
> Hi Even,
> Thanks for your quick response.
> I have already read and worked according to this document
> (http://gdal.org/frmt_nitf.html) Still, after removing the aux.xml file,
> the data is gone with it.
That's a bit surprising. See:
$ gdal_translate -q byte.tif byte.ntf -of NITF -co FTITLE=foo -a_srs EPSG:32611
$ rm byte.ntf.aux.xml
$ gdalinfo byte.ntf | grep FTITLE
NITF_FTITLE=foo
> Moreover, this document talks about specific info which is relevant to NITF
> header, but I have an additional information that is not part of NITF (my
> metadata is relevant to NSIF - STANAG 4545).
It is a bit difficult to comment as you're not very specific about which
exact info you're trying to write.
You've the possibility to write content of TREs (for most of them you'll have to compose
it manually) in file or image subheaders with the TRE= and FILE_TRE= creation options.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list