[Mapserver-users] center map on x,y coordinates

Elisabeth Nolz e9625730 at student.tuwien.ac.at
Tue May 4 05:24:39 EDT 2004


hi list.
in my application i have a drop-down menu with lots of addresses (addresses
and appropriate x,y coordinates stored in a mysql-database). the user can
choose one address and then click on the submit-button to show the map
centered on the chosen address.
the problem is, that i don't know how i could center my map on x,y
coordinates.

i found the following entry in the mapserver-user-history:
"If you have x,y coordinates for the centers of your parcels in your mysql
database, you can just run your search, grab the results, and redirect to a
url like:
http://myserver.com/cgi-bin/mapserver?map=parcel.map&mapxy=x_from_mysql+y_from_mysql&scale=150000"

i tried this link with my coordinates but it doesn't work this way. could
someone help me please?

thx,
elisabeth.






More information about the mapserver-users mailing list