Not quite what you asked for, but https://github.com/OSGeo/gdal/blob/master/autotest/gdrivers/nitf.py#L2101 might be another way to achieve what you need. Otherwise,  some more details on exact TREs might be relevant. 

On 11 June 2024 8:11 pm, Marek Setnik via gdal-dev <gdal-dev@lists.osgeo.org> wrote:

Hello!

I'm having trouble with adding multiple TREs to a NITF file (using C++ API), the documentation mentions that the TRE creation options allows for that but I can't figure out the syntax, how do I achieve something like this: TRE=NAME1=VALUES1,NAME2=VALUES2 ? (I also tried to use TRE creation option twice like so: -co TRE=NAME1=VALUES1 -co TRE=NAME2=VALUES2, but the second TRE gets ignored)


Thanks in advance!

Marek



_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to