Georeferenced coordinates for a tiff file
Gambin Dejan
Dejan.Gambin at PULA.HR
Fri Jul 15 00:36:58 PDT 2005
Maybe this can help you:
...............................
tfw files
Most image files are stored in units of inches. However, there are two
ways in which an image can know its geographic coordinates. The first
option is to imbed special tags in a tif file with the GeoTIFF format.
The second option is to have a world file, a 6-line ASCII file file such
as
2.4384
0.0000
0.0000
-2.4384
441794.4342
5094101.4520
These are the 6 coefficients of a three-by-three transformation matrix.
They indicate that a pixel is 2.4384 meters square, and that the center
of the upper left pixel has an easting (x coordinate) of 441794.4342 and
a northing of 5094101.4520. For fans of the matrix:
x = 2.4384 * column + 0.0 * row + 441794.4342
y = (-2.4384) * row + 0.0 * column + 5094101.4520
The second and third values are zero because there is no rotation or
skew.
.....................
regards, dejan gambin
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of SUBSCRIBE MAPSERVER-USERS Nuri
Sent: Friday, July 15, 2005 9:31 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Georeferenced coordinates for a tiff file
Hi,
I have a map file that displays a raster image (tif) and several points
over it from an Access database.
I calculated my EXTENT coordinates from OVF file. Does someone know how
could I calculate the exact georeferenced coordinates for the tif file
to match with the EXTENT of my .map?
Thank you.
Nuri
More information about the MapServer-users
mailing list