| 12345678910111213141516171819202122232425262728 |
- <!-- Performs a get feature with a bounding box filter. -->
- <!-- The BBOX filter is a convenience for a <Not><Disjoint>, -->
- <!-- it fetches all features that spatially interact with the given box. -->
- <!-- This example also shows how to request specific properties, in this -->
- <!-- case we just get the STATE_NAME and PERSONS -->
- <wfs:GetFeature service="WFS" version="1.1.0"
- xmlns:topp="http://www.openplans.org/topp"
- xmlns:wfs="http://www.opengis.net/wfs"
- xmlns:ogc="http://www.opengis.net/ogc"
- xmlns:gml="http://www.opengis.net/gml"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.opengis.net/wfs
- http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
- <wfs:Query typeName="topp:states">
- <wfs:PropertyName>topp:STATE_NAME</wfs:PropertyName>
- <wfs:PropertyName>topp:PERSONS</wfs:PropertyName>
- <ogc:Filter>
- <ogc:BBOX>
- <ogc:PropertyName>the_geom</ogc:PropertyName>
- <gml:Envelope srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
- <gml:lowerCorner>-75.102613 40.212597</gml:lowerCorner>
- <gml:upperCorner>-72.361859 41.512517</gml:upperCorner>
- </gml:Envelope>
- </ogc:BBOX>
- </ogc:Filter>
- </wfs:Query>
- </wfs:GetFeature>
|