[gdal-dev] NITF - EDIT TRE

Bar Ori Ori.Bar at elbitsystems.com
Thu Oct 8 06:16:17 PDT 2015


Hi all,
I created a NITF file with my own TRE (not registered). Until here, everything is alright and I also getting the content of it using GetMetadataItem().
The problem is when I create a copy of the file on purpose to edit the data of the TRE.
I tried, as I do with the metadata, to use the creation options for it. The problem is that it makes a duplication of the TRE and I have the old and the new.
I understood from it that it is part of the dataset and the CreateCopy() cause it, so I tried not to add it to the creation options and to use the SetMetadataItem() instead, before calling the CreateCopy(), but I see no change is done.
Does someone have an idea how to solve it?


Ori Bar | Software Developer

T +972-9-8898900 | M +972-504-734296

@ Ori.Bar at Elbitsystems.com<mailto:Ori.Bar at Elbitsystems.com>


[Description: Description: Logo]


The information in this e-mail transmission contains proprietary and business 
sensitive information.  Unauthorized interception of this e-mail may constitute 
a violation of law. If you are not the intended recipient, you are hereby 
notified that any review, dissemination, distribution or duplication of this 
communication is strictly prohibited. You are also asked to contact the sender 
by reply email and immediately destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20151008/03d7e60a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 16487 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20151008/03d7e60a/attachment-0001.png>


More information about the gdal-dev mailing list