a questoin about the action="[program]" in the form

Ethan Alpert ealpert at DIGITALGLOBE.COM
Thu Nov 18 10:06:28 PST 2004


You really need to start looking at mapscript queryByPoint()

-e

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Joseph Norris
Sent: Thursday, November 18, 2004 10:44 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] a questoin about the action="[program]"
in the form


Hello,

Thanks to all my first maps are very successful for my purposes.  I now
continue on to make them better.

When I do not give an action in my html that produces the map and I
click on a polygon - naturally get an error but I also get the following
query
strings:

img.x=291&img.y=274

My question is given that these are the x/y coordinates of the polygon
that has been clicked on - how do I relate these back to the data that
belongs to this polygon - in this case the zip 96504 so that I can do a
lookup on my db to give the user information about this zip?

Thanks


#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map
chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,
14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);



More information about the MapServer-users mailing list