[mapserver-users] basic search question

Brian Fischer bfischer at mpls.houstoneng.com
Thu Aug 23 11:34:33 EDT 2001


Jim,
 
This could be implemented fairly easy by using the item/value queries.
 
For the record returned by the MySQL search, get the unique field's
value and insert it into an item/value query to draw your map.  You can
put this query directly into an image tag.
 
Ex.) <img src="/projects/sandhill/cgi-bin/mapserv.exe?map=[map]
&mode=itemquery&item=PERMIT_NO&value=2001-01&layers=nhdwb61+nhdreach61"
height="400" width="500">
 
Also take a look at the MapServer Test Suite for more examples of
item/value queries.
http://maps.dnr.state.mn.us/mapserver_demos/tests3.5
 
Hope this does the trick,
Brian
-----Original Message-----
From: Jim Burnett [mailto:jimburnett at ntelos.net] 
Sent: Thursday, August 23, 2001 7:44 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] basic search question
 
Can I do a seach on my standard database(mysql) for an address, and then
pop up the parcel(map) based on my search?
 
So, can I create a map, based on search results?
I know I can click in the map, and query were I am clicking, but I want
to do the opposite, and do a search, then display the map....
 
 
 
 
-jim
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20010823/256f0a7c/attachment.html


More information about the mapserver-users mailing list