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

Joseph Norris sirronj at PACBELL.NET
Thu Nov 18 12:43:40 EST 2004


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