[Mapserver-users] .TAB files

Siki Zoltan siki@agt.bme.hu
Wed, 10 Dec 2003 20:21:20 -0100 (GMT+1)


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

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users