[gdal-dev] Re: Fwd: Shift of geoTiff

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Tue Jun 8 08:57:20 EDT 2010

Paul Meems <bontepaarden <at> gmail.com> writes:

> As noted in the original post, the GeoTiff spec seems to call for pixels to
> be referenced by their center and not their upper-left corner. If that's the
> case, then according to the GDALINFO output, the outside pixel coordinates
> should be the origin, and (cols - 1) x dx and (rows - 1) x dy away from the
> origin. But they're cols x dx and rows x dy away from the origin in the
> GDALINFO output. Which makes me think there's something going wrong in there
> somewhere.
> CheersBen

Think about an extreme one-pixel-image. For me it looks right to say that it is
covering an area and not to compress the extents of the image to a point. Thus
(cols) x dx and (rows) x dy.

-Jukka Rahkonen-

More information about the gdal-dev mailing list