Multiple feature queries to WFS?

Jeff Dege jdege at KORTERRA.COM
Fri Sep 22 16:25:17 EDT 2006


I have a number of features for which I need bounding boxes.

I've configured a mapserver installation to provide a WFS that I can
query to get these boxes, and that's working fine.  I send the URL, with
a filter included, and I get back a bunch of XML I can parse to find the
bounding box.

Problem is that doing it for the bunch of them is rather slow.

Would it be possible to include more than one feature in each request?

My query is:

	http:
	//domain/cgi-bin/mapserv.exe?map=/path/mapfile.map&
	SERVICE=WFS&
	VERSION=1.0.0&
	REQUEST=getfeature&
	TYPENAME=featurecode&
	FILTER=
		<Filter>
			<PropertyIsEqualTo matchCase='false'>
				<PropertyName>featurecode</PropertyName>
				<Literal>featurevalue</Literal>
			</PropertyIsEqualTo>
		</Filter>

(Minus the formatting that I added to make it readable of course.)

Can I include multiple matches in a filter?

Is there a limit to how large my filterXML can get?



More information about the mapserver-users mailing list