[gdal-dev] Saving data to the TEXT domain NITF

Frank Warmerdam warmerdam at pobox.com
Mon Oct 27 15:59:48 EDT 2008


Kurt Landrus wrote:
> Hello;
> I working with GDAL to support NITF imagery, I'm having a problem 
> with trying to save text data to the 
> I can read data from the Text segment just fine. However when I try to 
> save data back to the nitf in the TEXT segment using the call
> below,  I receive no err, but the data doesn't get saved.
> 
> // save text segment to dataset.
> err = GDALSetMetadataItem(dataset, "DATA_0", tmp3, "TEXT");
> 
> When I try to verify the text in the TEXT segment using gdalinfo, there 
> is no TEXT segment data contained in the NITF file.
> Is there other calls required to set up this,  what I am doing wrong.
> Thanks;

Kurt,

I believe that at this time the GDAL NITF driver does not support writing
out text segments.

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