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

Tyler Mitchell tylermitchell at shaw.ca
Fri Jul 30 00:29:22 EDT 2004


Hi Yusuf,
I'm not quite clear on what you want to do, why don't you walk us through an 
example of how a user would interact with your application.  Tell us what you 
want to be able to do from an application use perspective, that will help us 
out.

Tyler

On Thursday 29 July 2004 23:06, Yusuf wrote:
> 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.
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list