Forwarding Bens reply to the full list.<br>Ben is the user I mentioned in my start post.<br><br><span style="color: black;"><div dir="ltr"><div><span style="font-family: arial,helvetica,sans-serif;">Thanks,<br><br>Paul<br>

<br>--</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Paul Meems</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Release manager, configuration manager</span><br style="font-family: arial,helvetica,sans-serif;">

<span style="font-family: arial,helvetica,sans-serif;">and forum 
moderator of MapWindow GIS.</span><br style="font-family: arial,helvetica,sans-serif;"><a href="http://www.mapwindow.org/"><span style="font-family: arial,helvetica,sans-serif;">www.mapwindow.org</span></a><br style="font-family: arial,helvetica,sans-serif;">

<br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Owner of 
MapWindow.nl - Support for</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Dutch speaking users.</span><br style="font-family: arial,helvetica,sans-serif;">

<a href="http://www.mapwindow.nl/"><span style="font-family: arial,helvetica,sans-serif;">www.mapwindow.nl</span></a><br style="font-family: arial,helvetica,sans-serif;"></div><div style="padding: 5px 0pt; font-family: arial,sans-serif; font-size: 13.3px;">

<a href="http://nl.linkedin.com/in/paulmeems" style="padding: 0pt 2px; color: blue; font-size: 10pt;"><img src="http://www.images.wisestamp.com/linkedin.png" alt="Linkedin" style="vertical-align: middle; padding-bottom: 5px;" border="0" height="16" width="16"></a><a href="http://twitter.com/mapwindow_nl" style="padding: 0pt 2px; color: blue; font-size: 10pt;"><img src="http://www.images.wisestamp.com/twitter.png" alt="Twitter" style="vertical-align: middle; padding-bottom: 5px;" border="0" height="16" width="16"></a></div>

</div></span><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ben Jones</b> <span dir="ltr">&lt;<a href="mailto:ben@malleefocus.com.au">ben@malleefocus.com.au</a>&gt;</span><br>

Date: 2010/6/8<br>Subject: RE: [gdal-dev] Shift of geoTiff<br>To: Frank Warmerdam &lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;<br>Cc: <a href="mailto:bontepaarden@gmail.com">bontepaarden@gmail.com</a><br>

<br><br>Hi Frank and Paul,<br>
Thanks for following this up.<br>
Note that it&#39;s a half pixel shift (not a full pixel).<br>
I wasn&#39;t able to find a compiled version of listgeo so I can&#39;t check myself<br>
- but will be interested to see what the output is.<br>
As noted in the original post, the GeoTiff spec seems to call for pixels to<br>
be referenced by their center and not their upper-left corner. If that&#39;s the<br>
case, then according to the GDALINFO output, the outside pixel coordinates<br>
should be the origin, and (cols - 1) x dx and (rows - 1) x dy away from the<br>
origin. But they&#39;re cols x dx and rows x dy away from the origin in the<br>
GDALINFO output. Which makes me think there&#39;s something going wrong in there<br>
somewhere.<br>
Cheers<br>
<font color="#888888">Ben<br>
</font><div><div></div><div class="h5"><br>
-----Original Message-----<br>
From: Frank Warmerdam [mailto:<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>]<br>
Sent: Tuesday, 8 June 2010 12:51 AM<br>
To: Paul Meems<br>
Cc: <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>; Ben Jones<br>
Subject: Re: [gdal-dev] Shift of geoTiff<br>
<br>
Paul Meems wrote:<br>
&gt; One of our user of MapWindow GIS noticed a shift of its geotiff by one<br>
&gt; pixel width.<br>
&gt;<br>
&gt; I took a look at it to see if the problem is with MapWindow or GDAL,<br>
&gt; because MapWindow uses GDAL internally.<br>
&gt;<br>
&gt; The provided metadata of the geotiff is:<br>
&gt; GROUP = L1_METADATA_FILE<br>
&gt;   GROUP = METADATA_FILE_INFO<br>
&gt;     ORIGIN = &quot;Image courtesy of the U.S. Geological Survey&quot;<br>
<br>
Paul,<br>
<br>
I imagine GDAL is getting it&#39;s georeferencing from the GeoTIFF itself<br>
rather than from the supporting metadata file.  What does the listgeo<br>
report on the geotiff file look like?<br>
<br>
Best regards,<br>
--<br>
---------------------------------------+------------------------------------<br>
--<br>
I set the clouds in motion - turn up   | Frank Warmerdam,<br>
<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Programmer for Rent<br>
<br>
<br>
<br>
</div></div></div><br>