[Gdal-dev] TIFF World file issue

Frank Warmerdam warmerdam at pobox.com
Wed Feb 15 09:02:53 EST 2006


Markus Neteler wrote:
> Is the TFW file wrong or the gdalinfo output?
> As far as I know, TFW refers to the corner of a pixel [1]
> which is not reflected in the gdalinfo output.
> However, [2] says that TFW refers to the center of the pixel.
> 
> R tells me:
>> options(digits=12)
>> 90.0055556 - 0.01111111/2
> [1] 90.000000045
> 
>> 16200 * 0.01111111

Markus,

The top left location indicated in a world file is the center of the
top left pixel.  In [1] I was not specific about the issue due to a rush
and this detail not seeming pertinent to the person in question.

So, in your case everything seems to be working fine.

Best regards,

> [1] http://lists.maptools.org/pipermail/gdal-dev/2004-April/002416.html
> [2] http://lists.maptools.org/pipermail/gdal-dev/2005-May/005720.html
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list