Jeff,
World files use projected x/y coordinates. Use the Proj4 library
functions (in Mapscript) to project the upper left and lower right
spherical lon/lat coordinates to x/y, then use the image size (length,
width) to calculate the values for the world file
(http://en.wikipedia.org/wiki/World_file)
Best Regards,
Brent Fraser
On 7/3/2012 8:27 PM, Jeff Lake wrote:
Maybe I'm not searching on the correct terms.
But what is the magic formula for creating world files ??
I have a map of the US with the following projection info
ullat=53.3638
ullon=-130.964
lrlat=18.2977
lrlon=-69.1058
sp1=0
sp2=39
cm=-95.5
rlat=36.5
width=640
height=480
projection=lambert
now how on earth do you figure the meter per pixel??
prefer php, but guess I could convert
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users