[mapserver-users] basic search question

Jim Burnett jimburnett at ntelos.net
Thu Aug 23 08:48:53 PDT 2001


Does the same apply with MapScript?


-jim

  ----- Original Message ----- 
  From: Brian Fischer 
  To: Jim Burnett 
  Cc: mapserver-users at lists.gis.umn.edu 
  Sent: Thursday, August 23, 2001 11:34 AM
  Subject: RE: [mapserver-users] basic search question


  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/ff6d24c1/attachment.htm>


More information about the MapServer-users mailing list