[Mapserver-users] .TAB files
Siki Zoltan
siki at agt.bme.hu
Wed Dec 10 13:21:20 PST 2003
Hi,
I think you misunderstand me.
In your previous mail you attach a TAB file which refer to a TIF
eg. there was a line in the TAB file like this
FILE your_file.tif
TYPE "RASTER"
...
>From the coordinates and pixel rows, and columns you must calculate
the pixel size in x and y direction and write a text file having the
same name as the tif and has an extension .tfw or .wld
A tfw file consist of 6 lines
1st line pixel size in y direction in the real life
2nd line usually 0
3rd line usually 0
4th line -1 x pixel size in y direction in the real life
5th line x coordinate of the center of the top left corner
6th line y coordinate of the center of the top left corner
Bye
Zoltán
More information about the MapServer-users
mailing list