<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello;<div><span class="Apple-tab-span" style="white-space:pre">        </span>I working with GDAL to support NITF imagery, I'm having a problem with&nbsp;trying&nbsp;to save text data to the&nbsp;</div><div>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</div><div>below, &nbsp;I receive no err, but the data doesn't get saved.</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; color: rgb(0, 116, 0); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">        </span></span>// save text segment to dataset.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>err = GDALSetMetadataItem(dataset, <span style="color: #c41a16">"DATA_0"</span>, tmp3, <span style="color: #c41a16">"TEXT"</span>);</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><br></div></div><div>When I try to verify the text in the TEXT segment using gdalinfo, there is no TEXT segment data contained in the NITF file.</div><div>Is there other calls required to set up this, &nbsp;what I am&nbsp;doing&nbsp;wrong.</div><div>Thanks;</div><div><div><br></div><div>GDAL 1.5.2, released 2008/05/29</div><div><div>Linux merlin 2.6.18-53.el5PAE #1 SMP Wed Oct 10 16:48:18 EDT 2007 i686 i686 i386 GNU/Linux</div><div><br></div><div><br></div></div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Times; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Kurt Landrus</div><div>Progeny Systems Corp.</div><div><a href="mailto:klandrus@progeny.net">klandrus@progeny.net</a></div><div>Office:<span class="Apple-converted-space">&nbsp;</span><span class="Apple-tab-span" style="white-space: pre; ">        </span>703-368-6107 x424</div><div><div>Lab:<span class="Apple-converted-space">&nbsp;</span><span class="Apple-tab-span" style="white-space: pre; ">        </span>703-368-6107 x520</div><br></div></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>