Image map generation
Ian
iansgis at GMAIL.COM
Mon Jul 3 14:28:40 PDT 2006
I'm able to get query results with the following CGI controls:
**<form name="map" method=GET action="/cgi-bin/mapserv">
<input type="hidden" name="map"
value="/var/www/html/maps/queryResultsMap.map">
<input type="hidden" name="qlayer" value="worldCities">
<input type="hidden" name="mode" value="nquery">
<input type="hidden" name="mapext" value="-180 -90 180 90">
<input type="hidden" name="scale" value="6500000">
<input type="hidden" name="searchmap" value="true">
<center><input type="submit" value="Query Results Only"></center>
</form>
However when I make slight modifications to try to create an image map of
the results with these controls:
<form name="map" method=GET action="/cgi-bin/mapserv">
<input type="hidden" name="map" value="/var/www/html/maps/queryMap.map">
<input type="hidden" name="qlayer" value="worldCities">
<input type="hidden" name="mode" value="nquery">
<input type="hidden" name="mapext" value="shapes">
<input type="hidden" name="mapsize" value="500 500">
<input type="hidden" name="mapxy" value="20 20">
<input type="hidden" name="imgext" value="0 0 500 500">
<input type="hidden" name="scale" value="6500000">
<input type="hidden" name="searchmap" value="true">
<center><input type="submit" value="Query Image Map"></center>
</form>
each result's coordinate values goes to "-2147483648,-2147483648,7"
Am I missing something? I'm trying to pass the same parameters that we pass
in our web application of MS, but to no avail so far.
Thank you.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060703/0d5bfa18/attachment.htm>
More information about the MapServer-users
mailing list