<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Daniele,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The RPF specification is MILSTD-2411 which has a couple of
addendums and all can be found at <a
href="http://earth-info.nga.mil/publications/specs/">http://earth-info.nga.mil/publications/specs/</a>
.&nbsp; The basic structure of an RPF file is a root directory named RPF which
contains a file named a.toc which means &#8220;Table of Contents&#8221;.&nbsp; That
file is a database of boundaries and frames files that make up the various
images within the RPF file.&nbsp; The boundaries constitute a group of adjacent
frame files that together make a scene or image.&nbsp; Each frame file is 1536
x 1536 pixels and is formatted as an NITF file.&nbsp; The frame files live within
or below the RPF directory in other directories and the file name is a key that
denotes the series, scale, zone and other information.&nbsp; If you cannot open
the frame files because your viewer wants an .ntf extension, just change the
extension to .ntf and it will open in your viewer.&nbsp; Then RPF is split into
two types, Compressed Arc Digital Raster Graphics (CADRG) and Controlled Image
Base (CIB).&nbsp; The first is a vector map that has one band and a color table
where the second is a one band gray scale image.&nbsp; The main file you should
be opening is always a.toc and then you should use the toc to retrieve whatever
boundary and frame info you want.&nbsp; The toc has the file paths for each of
the frames files for a given boundary.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hope this helps!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Best regards,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Martin Chapman<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
gdal-dev-bounces@lists.osgeo.org [mailto:gdal-dev-bounces@lists.osgeo.org] <b>On
Behalf Of </b>Daniele Romagnoli<br>
<b>Sent:</b> Tuesday, March 11, 2008 8:55 AM<br>
<b>To:</b> gdal-dev@lists.osgeo.org<br>
<b>Subject:</b> [gdal-dev] Question about NITF CADRG data file extensions.<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Hi list,<br>
I have a trivial question about the supported/existing Nitf CADRG data file
extensions.<br>
<br>
In the ImageIO-Ext project, I'm setting up a NITF plugin (leveraging on GDAL).<br>
The ImageReaderSpi of each ImageIO reader could specify the suffixes which the
format specific plugin is able to support.<br>
Actually, I'm interested in CADRG format extensions. Thus, my silly question
is:<br>
Which file extensions exist for the NITF CADRG format?<br>
<br>
After a &quot;quick and random&quot; search, I have found some
&quot;.on1&quot;, &quot;.on2&quot;, &quot;.on5&quot; file extensions for
Operational Navigation Chart and &quot;.tp4&quot; file extension for Tactical
Pilotage Chart.<br>
I'm pretty sure there are &quot;.onX&quot; and &quot;.tpX&quot; (where X is a
number) file extensions. Can someone give me some advice on this?<br>
<br>
Thank you very much.<br>
<br>
Best regards,<br>
Daniele <br>
<br>
<br>
<br>
-- <br>
-------------------------------------------------------<br>
Eng. Daniele Romagnoli <br>
Software Engineer<br>
<br>
GeoSolutions S.A.S.<br>
Via Carignoni 51<br>
55041 Camaiore (LU)<br>
Italy<br>
<br>
phone: +39 0584983027<br>
fax: +39 0584983027<br>
mob: +39 328 0559267<br>
<br>
<br>
<a href="http://www.geo-solutions.it">http://www.geo-solutions.it</a><br>
<br>
-------------------------------------------------------<o:p></o:p></p>

</div>

</body>

</html>