<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Especially as I haven't seen a descriptive document for them yet.<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Brad Hards <bradh@frogmouth.net><br>
<b>Sent:</b> Thursday, April 2, 2020 12:00 PM<br>
<b>To:</b> Edson, Adam Robert <are131@psu.edu>; gdal-dev@lists.osgeo.org <gdal-dev@lists.osgeo.org><br>
<b>Subject:</b> RE: [gdal-dev] Accessing DES in NITF through GDAL</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:"Segoe UI Light"}
@font-face
{font-family:"Segoe UI"}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:blue;
text-decoration:underline}
span.x_EmailStyle20
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-AU" link="blue" vlink="purple">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="">I think there could be value in adding CSSHPB with new code inside GDAL NITF. See
<a href="https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgdal%2Fblob%2Fmaster%2Fgdal%2Ffrmts%2Fnitf%2Fnitfdes.c%23L209&data=02%7C01%7Care131%40psu.edu%7Cdb0f54a867014bd9d01c08d7d71f0225%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C1%7C637214400509897086&sdata=fjKo%2BPoB13uLWVme017unoi7Vtej4UKCJ%2Bc3%2FoJthbU%3D&reserved=0" originalsrc="https://github.com/OSGeo/gdal/blob/master/gdal/frmts/nitf/nitfdes.c#L209" shash="LRES+5knQB08eJa6diTJnTELuDWdDWZ17GL/oNaqjrMm58RnZOzhJUckk5HkmzyEcvOIBdSNUDULHkViQnnbC3tle0MNoStxNcN7OFJtZ9JmsGWDRzbj63JZoZhyDugVI4+0vUia8InLaZBxFTPxh61dWrh/odAXNyHVXddrUz4=">
https://github.com/OSGeo/gdal/blob/master/gdal/frmts/nitf/nitfdes.c#L209</a></span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">Do GLAS/GFM later.</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">Brad</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> gdal-dev <gdal-dev-bounces@lists.osgeo.org>
<b>On Behalf Of </b>Edson, Adam Robert<br>
<b>Sent:</b> Friday, 3 April 2020 2:53 AM<br>
<b>To:</b> Even Rouault <even.rouault@spatialys.com>; gdal-dev@lists.osgeo.org<br>
<b>Subject:</b> Re: [gdal-dev] Accessing DES in NITF through GDAL</span></p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<div>
<p class="x_MsoNormal" style="background:white"><span style="font-size:12.0pt; color:black">I have been tasked with making GDAL capable of dealing with a new NITF type (<a href="https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcalval.cr.usgs.gov%2Fapps%2Fsites%2Fdefault%2Ffiles%2Fjacie%2FBarbaraEckstein.pdf&data=02%7C01%7Care131%40psu.edu%7Cdb0f54a867014bd9d01c08d7d71f0225%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C1%7C637214400509907083&sdata=FsHOy6MExgDO2PwRfumpRdCNiPUEnf1GWLL5Nk%2FB6Zo%3D&reserved=0" originalsrc="https://calval.cr.usgs.gov/apps/sites/default/files/jacie/BarbaraEckstein.pdf" shash="d20wS5fsk+3HTAJmFw3+8TcSrUsZbpkMO6UJ7Dp6+T8wjg+r21nxHBalUc2qEmzokpPvLfZp/CCVShrJRouIhloUNVwXaig1t26KlMbGKxNx1XeQ6Hyu02KTUiWd/pfgPQDShw4zsS3wQhw2GXLRANHRkcv8Rcw8FaaWMs7mVTg=">https://calval.cr.usgs.gov/apps/sites/default/files/jacie/BarbaraEckstein.pdf</a>)
that has major buy-in from data providers. Due to the ubiquity of GDAL, making the change at this level will give the most people access.</span></p>
</div>
<div id="LPBorder_GTaHR0cHM6Ly9jYWx2YWwuY3IudXNncy5nb3YvYXBwcy9zaXRlcy9kZWZhdWx0L2ZpbGVzL2phY2llL0JhcmJhcmFFY2tzdGVpbi5wZGY." style="margin-top:12.0pt; margin-bottom:12.0pt; min-width:424px">
<table class="x_MsoNormalTable" border="1" cellspacing="5" cellpadding="0" width="100%" style="width:100.0%; border:solid #C8C8C8 1.0pt">
<tbody>
<tr>
<td width="100%" valign="top" style="width:100.0%; border:none; padding:9.0pt 27.0pt 9.0pt 9.0pt">
<div id="LPTitle548487" style="margin-right:6.0pt; margin-bottom:9.0pt">
<p class="x_MsoNormal"><span style="font-size:16.0pt; font-family:"Segoe UI Light",sans-serif"><a href="https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcalval.cr.usgs.gov%2Fapps%2Fsites%2Fdefault%2Ffiles%2Fjacie%2FBarbaraEckstein.pdf&data=02%7C01%7Care131%40psu.edu%7Cdb0f54a867014bd9d01c08d7d71f0225%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C1%7C637214400509907083&sdata=FsHOy6MExgDO2PwRfumpRdCNiPUEnf1GWLL5Nk%2FB6Zo%3D&reserved=0" originalsrc="https://calval.cr.usgs.gov/apps/sites/default/files/jacie/BarbaraEckstein.pdf" shash="d20wS5fsk+3HTAJmFw3+8TcSrUsZbpkMO6UJ7Dp6+T8wjg+r21nxHBalUc2qEmzokpPvLfZp/CCVShrJRouIhloUNVwXaig1t26KlMbGKxNx1XeQ6Hyu02KTUiWd/pfgPQDShw4zsS3wQhw2GXLRANHRkcv8Rcw8FaaWMs7mVTg=" target="_blank"><span style="text-decoration:none">The
Spectral NITF Implementation Profile (SNIP): A New Standard for Multispectral and Hyperspectral Imagery Datasets</span></a></span></p>
</div>
<div id="LPDescription548487" style="margin-right:6.0pt; margin-bottom:9.0pt; max-height:100px; overflow:hidden">
<p class="x_MsoNormal"><span style="font-size:10.5pt; font-family:"Segoe UI",sans-serif; color:#666666">The NITF Standard (NITFS) consists of a file header and different “segment” types Some segments may include “tagged record extensions” (TREs), i.e., metadata
headers</span></p>
</div>
<div id="LPMetadata548487">
<p class="x_MsoNormal"><span style="font-size:10.5pt; font-family:"Segoe UI",sans-serif; color:#A6A6A6">calval.cr.usgs.gov</span></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<p class="x_MsoNormal"> </p>
<div class="x_MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>><br>
<b>Sent:</b> Thursday, April 2, 2020 11:03 AM<br>
<b>To:</b> <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a> <<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>><br>
<b>Cc:</b> Edson, Adam Robert <<a href="mailto:are131@psu.edu">are131@psu.edu</a>><br>
<b>Subject:</b> Re: [gdal-dev] Accessing DES in NITF through GDAL</span> </p>
<div>
<p class="x_MsoNormal"> </p>
</div>
</div>
<div>
<p><span style="font-size:9.0pt; font-family:"Courier New"">Adam,</span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New""> </span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New"">> I am working with NITF data. How are Data Extension Segments (DES) accessed</span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New"">> through GDAL?</span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New""> </span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New"">Complicated topic.</span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New""> </span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New"">TRE stored in DES are reported in the TRE and xml:TRE metadata domains.</span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New""> </span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New"">For generic DES extraction, you need to build GDAL with the ESRI_BUILD macro enabled, and then they should be reported as Base64 encoded content in the NITF_DES metadata domain, but I haven't tried
such builds recently.</span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New""> </span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New"">Even</span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New""> </span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New"">-- </span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New"">Spatialys - Geospatial professional services</span></p>
<p><span style="font-size:9.0pt; font-family:"Courier New""><a href="https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spatialys.com%2F&data=02%7C01%7Care131%40psu.edu%7Cdb0f54a867014bd9d01c08d7d71f0225%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C1%7C637214400509917076&sdata=t%2FN3ibH8aUsEDcre1Qr9PdSiNr%2Fae1Nnjedd%2BKVhazc%3D&reserved=0" originalsrc="http://www.spatialys.com/" shash="JTqX11Wh8YgauXeZdGXE8Po/VfjSMGRguM2i7Vlhr7qCBHPcCD14I2lVVWek4d21IzZw+W+4hcFBo2MHT9QEddWuCKumQCWImubn2q31I9z4pEmbMIUI+qmoEsDvEFMFdk5/jgGvWm0XfUNgB2FPArqgfX4yNwpMiGSygb33Asw=">http://www.spatialys.com</a></span></p>
</div>
</div>
</div>
</body>
</html>