[mapserver-users] RE: querying multiple features in a layer

Jackson, John jxjackso at franklincountyohio.gov
Fri Nov 19 10:40:58 PST 2010


That works, but is there a way to get the map one time only?
________________________________________
From: Lime, Steve D (DNR) [Steve.Lime at state.mn.us]
Sent: Friday, November 19, 2010 1:36 PM
To: Jackson, John; mapserver-users at lists.osgeo.org
Subject: RE: querying multiple features in a layer

You'd do something like:

  ...&mode=itemnquery&qlayer=schools&qitem=id&qstring=/id1|id2|id3/&...

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Jackson, John
Sent: Friday, November 19, 2010 11:59 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] querying multiple features in a layer

Hello all.

I have a layer of school district polygons that I am trying to query. I can successfully do an itemquery on a single value and get a map with the chosen district highlighted.
What I'm stumped on is how to query for multiple districts... I saw the documentation for "Mapserver expressions", but I don't see how to use them to do this. I tried embedding an OR expression into the qstring, but mapserver wouldn't take it. From what I gather, qstring must be a regular expression.

Thanks in advance for your help.

--John Jackson
--Deputy Auditor
--Franklin County Ohio_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list