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

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Fri Nov 19 13:36:48 EST 2010


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