[Mapserver-users] generating world files
Morten Nielsen
maillist@iter.dk
Wed, 16 Apr 2003 15:14:57 +0200
> [width of a pixel in map coordinates]
> [a rotation factor] <- you can most likely skip this
> [another rotation factor] <- same
> [height of a pixel in map coordinates]
> [x of upper left corner of the image]
> [y of upper left corner of the image]
>
> That's all. You can get parameters 5 and 6 from your current image
> extent, fill in the rotation parameters with 0.00000 most likely, and
> then calculate parameters 1 and 4 yourself. Hint: first parameter is
> (maxx - minx) / (width of map in pixels).
Remember that the height of the pixel has to be negative, since the image
coordinatespace is upside-down.
Isn't there something about the coordinate of the center of the pixel vs.
the corner of the pixel?
/Morten
http://www.iter.dk/wmscontrol
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users