<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Kurt,<BR>
&nbsp;<BR>
I am in the same boat.&nbsp; I have modified the GDAL driver&nbsp;to read AIMIDB and ACFTB similiar to BLOCKA metdata, but I do not have the capability to write these TREs. The TRE creation option should allow this, but I haven't found a good example of how to do this.&nbsp; Hopefully the developer can provide feedback here...<BR>
&nbsp;<BR>
-- Dan Greve<BR>
&nbsp;<BR>
&nbsp;<BR>
&gt; From: klandrus@progeny.net<BR>&gt; To: gdal-dev@lists.osgeo.org<BR>&gt; Date: Wed, 12 Nov 2008 11:40:14 -0500<BR>&gt; Subject: [gdal-dev] NITF TRE support<BR>&gt; <BR>&gt; <BR>&gt; Ok, I was looking through nithfile.c, am I correct in understanding <BR>&gt; that the only TRE supported for saving is BLOCKA, and that each <BR>&gt; additional TRE needs to be handled<BR>&gt; individually?<BR>&gt; <BR>&gt; I need to add support for the following TREs. But I don't really need <BR>&gt; to add new SDE headers, but preserve the original values as read<BR>&gt; using GDALGetMetadataItem.<BR>&gt; <BR>&gt; SENSRA<BR>&gt; AIMIDB<BR>&gt; ACFTB<BR>&gt; <BR>&gt; Is there an easy way to save back an TRE that was read using GDAL (/0 <BR>&gt; escaped string)<BR>&gt; or should I pull out all the fields from the string, and then <BR>&gt; reassemble them in a function as is done for BLOCKA?<BR>&gt; <BR>&gt; Kurt Landrus<BR>&gt; Progeny Systems Corp.<BR>&gt; klandrus@progeny.net<BR>&gt; Office: 703-368-6107 x424<BR>&gt; Lab: 703-368-6107 x520<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; gdal-dev mailing list<BR>&gt; gdal-dev@lists.osgeo.org<BR>&gt; http://lists.osgeo.org/mailman/listinfo/gdal-dev<BR><BR><br /><hr />Color coding for safety: Windows Live Hotmail alerts you to suspicious email. <a href='http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008' target='_new'>Sign up today.</a></body>
</html>