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"><<a href="mailto:ben@malleefocus.com.au">ben@malleefocus.com.au</a>></span><br>
Date: 2010/6/8<br>Subject: RE: [gdal-dev] Shift of geoTiff<br>To: Frank Warmerdam <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>><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's a half pixel shift (not a full pixel).<br>
I wasn't able to find a compiled version of listgeo so I can'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'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're cols x dx and rows x dy away from the origin in the<br>
GDALINFO output. Which makes me think there'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>
> One of our user of MapWindow GIS noticed a shift of its geotiff by one<br>
> pixel width.<br>
><br>
> I took a look at it to see if the problem is with MapWindow or GDAL,<br>
> because MapWindow uses GDAL internally.<br>
><br>
> The provided metadata of the geotiff is:<br>
> GROUP = L1_METADATA_FILE<br>
> GROUP = METADATA_FILE_INFO<br>
> ORIGIN = "Image courtesy of the U.S. Geological Survey"<br>
<br>
Paul,<br>
<br>
I imagine GDAL is getting it'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>