Hi,
I'm trying for the first time to query a wfs with filter encoding. It 
works but My problem is I don't know how to use the filter if I have 
several polygons.
There are examples at this page querying cities and continents
http://mapserver.org/ogc/filter_encoding.html

This example return the cities inside a polygon
http://demo.mapserver.org/cgi-bin/wfs?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=cities&Filter=<Filter><Intersects><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>135.5329,34.6624
 
135.4921,34.8153 135.3673,34.7815 135.3800,34.6216 135.5361,34.6210 
135.5329,34.6624</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersects></Filter>

Using the same wfs I would like to get the cities in Canada
This query returns all the polygons for Canada (I set maxfeatures=30 for 
the examples).
http://demo.mapserver.org/cgi-bin/wfs?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=continents&maxfeatures=30&Filter=<Filter><PropertyIsEqualTo><PropertyName>NA2DESC</PropertyName><Literal>Canada</Literal></PropertyIsEqualTo></Filter>

How can I use the output of this query, so I can filter the cities inside 
all these 30 polygons?

thanks
steve
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to