<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Kurt,<BR>
<BR>
I am in the same boat. I have modified the GDAL driver 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. Hopefully the developer can provide feedback here...<BR>
<BR>
-- Dan Greve<BR>
<BR>
<BR>
> From: klandrus@progeny.net<BR>> To: gdal-dev@lists.osgeo.org<BR>> Date: Wed, 12 Nov 2008 11:40:14 -0500<BR>> Subject: [gdal-dev] NITF TRE support<BR>> <BR>> <BR>> Ok, I was looking through nithfile.c, am I correct in understanding <BR>> that the only TRE supported for saving is BLOCKA, and that each <BR>> additional TRE needs to be handled<BR>> individually?<BR>> <BR>> I need to add support for the following TREs. But I don't really need <BR>> to add new SDE headers, but preserve the original values as read<BR>> using GDALGetMetadataItem.<BR>> <BR>> SENSRA<BR>> AIMIDB<BR>> ACFTB<BR>> <BR>> Is there an easy way to save back an TRE that was read using GDAL (/0 <BR>> escaped string)<BR>> or should I pull out all the fields from the string, and then <BR>> reassemble them in a function as is done for BLOCKA?<BR>> <BR>> Kurt Landrus<BR>> Progeny Systems Corp.<BR>> klandrus@progeny.net<BR>> Office: 703-368-6107 x424<BR>> Lab: 703-368-6107 x520<BR>> <BR>> <BR>> <BR>> _______________________________________________<BR>> gdal-dev mailing list<BR>> gdal-dev@lists.osgeo.org<BR>> 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>