[mapguide-users] Re: Query features based on a list or array of attribute values

Jackie Ng jumpinjackie at gmail.com
Mon Nov 28 20:48:27 EST 2011


If stringing logical -OR- conditions together is the only supported way to
filter, then a way to work around the filter limit is to query your features
in batches. So if you have say 100 hydrants to filter out, you could do 4
queries each with 25 different hydrant -OR- conditions.

If you're using .net constructing such a filter is easy. Store the
individual conditions in a List<string> then a string.join(" OR ",
yourList.ToArray()) will give you the combined filter.

- Jackie

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Query-features-based-on-a-list-or-array-of-attribute-values-tp7025060p7041283.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list