[Mapserver-users] coordinate transform etc
niklas wörmann
nwoe at privat.utfors.se
Wed Dec 10 05:24:45 PST 2003
Hi!
i am using mapserver 4 as a straight cgi service, bombarding it with those
nice get strings.
the client is a flash application.
I am having some problems figuring out have to transform from map x y to lat
long
i have managed to figure out how using latlong projection, where the
transform is trivial, but
the maps dont look that great. ;)
when switching to UTM i really need to find some way to map between x y and
lat long
my theory would be to simulate a mouse click, using imgxy xcoord ycoord,
send it to a map file with status=off so i wont get a new map rendered, and
read the
transformed values with maplon maplat for example.
but it seems my simulated clicks are not coming thru....
i have tried all permutations of imgxy, mapxy etc and even messed about with
the rosa applet parameters, to try
to get mapserver CGI to spit out some transformed value. but it doesnt
the other solution is to perform the calculations on the client, wich
certainly would be doable, but since my knowledge of the
transformation functions is limited to say the least, i would really like to
get the cgi version working
any ideas?
tia
niklas woermann
älvsjö
sweden
More information about the MapServer-users
mailing list