[Mapserver-users] How to query (UTM) coordinates

Yusuf yusufad at myrealbox.com
Thu Jul 29 23:06:35 PDT 2004


Dear all,

I want to query the mapserv CGI with a pair of UTM coordinates.  All of 
my data is in UTM, of course.  Before I reinvent the wheel, I'm sure one 
of you should have implemented this already, and I'll thank you  if you 
help/point me to the solution.

My current clues:

1.-  Calculate everything by hand (the JavaScript hand, that is ;-) ) 
forging  the IMGXY variable.
2.-  What the mysterious MODE=COORDINATE does?   (apart of being 
"clarified").
3.-  I would prefer a "native" solution, but MapScripts would become 
handy once I chose one.  I supose queryByPoint() both in 
PHP/SWIGMapscript does exaclty what I want.

In the same line, how could I get the (approximate) UTM coordinate the 
user has clicked in?

1.- I can get it by hand...
2.- A variable like [CurCoordX] useable in the TEMPLATE would be great.
3.- Is this implemented in PHP/SWIG?

Thanks in advance.



More information about the MapServer-users mailing list