[mapserver-users] Combined spatial and attribute query

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Fri Feb 8 08:05:01 PST 2013


Is your spatial query just a bbox? If so then just set that as your map extent as part of doing your attribute query (attributes always do both). There are other options too, let us know more what your spatial query is.

Steve

________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Bistrais, Bob [Bob.Bistrais at maine.gov]
Sent: Friday, February 08, 2013 10:01 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Combined spatial and attribute query

Does anyone have advice on the best or most efficient way to query data, involving both a spatial and an attribute query.  I need to query several layers, selecting based on an area, then select from that selection based on an attribute value.  It would be OK to query by the attribute first, then spatial.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130208/037c211a/attachment.html>


More information about the mapserver-users mailing list