Hello,<br />
<br />
It would appear that GDAL14 does not understand arc-second units.  I created<br />
an elevation file (GeoTIFF) using Global Mapper.  When I look at it with<br />
gdalinfo I get:<br />
<br />
Driver: GTiff/GeoTIFF<br />
Size is 777, 657<br />
Coordinate System is:<br />
GEOGCS[&quot;WGS 84&quot;,<br />
    DATUM[&quot;WGS_1984&quot;,<br />
        SPHEROID[&quot;WGS 84&quot;,6378137,298.2572235630016,<br />
            AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],<br />
        AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],<br />
    PRIMEM[&quot;Greenwich&quot;,0],<br />
    UNIT[,0.0174532925199433],<br />
    AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]<br />
Origin = (-399424.610220731760000,116211.336444500940000)<br />
Pixel Size = (0.647917999999991,-0.647917999999996)<br />
Metadata:<br />
  AREA_OR_POINT=Point<br />
Corner Coordinates:<br />
Upper Left  ( -399424.610,  116211.336)<br />
(399424d36'36.79&quot;W,116211d20'11.20&quot;N)<br />
Lower Left  ( -399424.610,  115785.654)<br />
(399424d36'36.79&quot;W,115785d39'15.55&quot;N)<br />
Upper Right ( -398921.178,  116211.336)<br />
(398921d10'40.57&quot;W,116211d20'11.20&quot;N)<br />
Lower Right ( -398921.178,  115785.654)<br />
(398921d10'40.57&quot;W,115785d39'15.55&quot;N)<br />
Center      ( -399172.894,  115998.495)<br />
(399172d53'38.68&quot;W,115998d29'43.37&quot;N)<br />
Band 1 Block=777x1 Type=Float32, ColorInterp=Gray<br />
<br />
<script>&lt;!--
D([&quot;mb&quot;,&quot;The UNIT is empty, but it clearly thinks the unit is DEGREES as the corner&lt;br /&gt;coordinates are obviously completely wrong.&lt;br /&gt;&lt;br /&gt;When looking at the same file with a different reader (a GeoTIFF tag&lt;br /&gt;reader), the information returned is:&lt;br /&gt;&lt;br /&gt;Elevation file:&lt;br /&gt;Geotiff_Information:&lt;br /&gt; &amp;nbsp; &amp;nbsp;Version: 1&lt;br /&gt; &amp;nbsp; &amp;nbsp;Key_Revision: 1.0&lt;br /&gt; &amp;nbsp; &amp;nbsp;Tagged_Information:&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; ModelTiepointTag (2,3):&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-399424.61 &amp;nbsp; &amp;nbsp; &amp;nbsp; 116211.336 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; ModelPixelScaleTag (1,3):&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.647918 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.647918 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; End_Of_Tags.&lt;br /&gt; &amp;nbsp; &amp;nbsp;Keyed_Information:&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; GTModelTypeGeoKey (Short,1): ModelTypeGeographic&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; GTRasterTypeGeoKey (Short,1): RasterPixelIsPoint&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; GeographicTypeGeoKey (Short,1): GCS_WGS_84&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; GeogAngularUnitsGeoKey (Short,1): Angular_Arc_Second&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; VerticalUnitsGeoKey (Short,1): Unknown-9001&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; End_Of_Keys.&lt;br /&gt; &amp;nbsp; &amp;nbsp;End_Of_Geotiff.&lt;br /&gt;&lt;br /&gt;The units are clearly set to Angular_Arc_Second. &amp;nbsp;If the coordinates above&lt;br /&gt;are interpreted as 
arc-seconds then the corner coordinates are correct.&lt;br /&gt;&lt;br /&gt;First, am I understanding things correctly, and is my interpretation that&lt;br /&gt;GDAL14 is not handling this correctly, correct? &amp;nbsp;Or am I missing something?&lt;br /&gt;I\'m new to GDAL and certainly could easily be overlooking something very&lt;br /&gt;basic.&lt;br /&gt;&lt;br /&gt;If GDAL does in fact not handle this type of coordinate correctly, can&lt;br /&gt;someone point me to where in the sources I would need to make a patch? &amp;nbsp;I\'m&lt;br /&gt;more than willing to go in and extend things as necessary.&lt;br /&gt;&lt;br /&gt;Thanks in advance,&lt;br /&gt;&lt;/div&gt;&quot;,1]
);

//--&gt;</script>The UNIT is empty, but it clearly thinks the unit is DEGREES as the corner<br />
coordinates are obviously completely wrong.<br />
<br />
When looking at the same file with a different reader (a GeoTIFF tag<br />
reader), the information returned is:<br />
<br />
Elevation file:<br />
Geotiff_Information:<br />
    Version: 1<br />
    Key_Revision: 1.0<br />
    Tagged_Information:<br />
       ModelTiepointTag (2,3):<br />
          0                0                0<br />
          -399424.61       116211.336       0<br />
       ModelPixelScaleTag (1,3):<br />
          0.647918         0.647918         1<br />
       End_Of_Tags.<br />
    Keyed_Information:<br />
       GTModelTypeGeoKey (Short,1): ModelTypeGeographic<br />
       GTRasterTypeGeoKey (Short,1): RasterPixelIsPoint<br />
       GeographicTypeGeoKey (Short,1): GCS_WGS_84<br />
       GeogAngularUnitsGeoKey (Short,1): Angular_Arc_Second<br />
       VerticalUnitsGeoKey (Short,1): Unknown-9001<br />
       End_Of_Keys.<br />
    End_Of_Geotiff.<br />
<br />
The units are clearly set to Angular_Arc_Second.  If the coordinates above<br />
are interpreted as arc-seconds then the corner coordinates are correct.<br />
<br />
First, am I understanding things correctly, and is my interpretation that<br />
GDAL14 is not handling this correctly, correct?  Or am I missing something?<br />
I'm new to GDAL and certainly could easily be overlooking something very<br />
basic.<br />
<br />
If GDAL does in fact not handle this type of coordinate correctly, can<br />
someone point me to where in the sources I would need to make a patch?  I'm<br />
more than willing to go in and extend things as necessary.<br />
<br />
Thanks in advance,<br />
<br />
Nick<br />