[mapserver-users] Return mapxy

Steve Lime steve.lime at dnr.state.mn.us
Fri May 10 13:13:27 PDT 2002


Easiest way would be to do a query, ignoring the query results. You
could set up a dummy shapefile that contains one polygon that covers
your entire area of interest so there's no threat of missing it. The
mouse click is then available to you as [mayxy] and probably also
individually as well although I don't remember the substituion strings.
You could use URL templates to pass that information on directly to a
helper application that modifies the database.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Van Ulden, Joost" <jvanulde at NRCan.gc.ca> 05/10/02 02:54PM >>>
Is it possible to return only the xy coordinates of a user click
without
redrawing the map?  We would like to return the xy coordinates and
insert
them into a database.  We can do this already, but with a combination
of
zoom and javascript.

Any suggestions would be helpful.

Joost van Ulden 
Data Integration Specialist 
GSC-Pacific Division 
101-605 Robson St.
Vancouver, BC V6B 5J3
604.666.7525
jvanulde at nrcan.gc.ca 




More information about the MapServer-users mailing list