Jeff,
Most of us let a client-side (browser) JavaScript library like
OpenLayers handle the screen <-> projection calculation (among a lot of
other things). have a look at GeoMoose (http://www.geomoose.org) as a
framework to bring together the server-side and client-side components.
Best Reg
Thanks for the reply ...
Lets ask this ..
I am setting up an open source weather mapping application (php)
I already know most of my target audience will not be able to install
MapServer and or proj4.
I have been trying to get a handle on various map projection's.
decided to use 3
Grid (or flat no
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
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