1 |
3032
|
perry
|
<!-- Performs a get feature with a bounding box filter. -->
|
2 |
|
|
<!-- The BBOX filter is a convenience for a <Not><Disjoint>, -->
|
3 |
|
|
<!-- it fetches all features that spatially interact with the given box. -->
|
4 |
|
|
<!-- This example also shows how to request specific properties, in this -->
|
5 |
|
|
<!-- case we just get the STATE_NAME and PERSONS -->
|
6 |
|
|
|
7 |
|
|
<wfs:GetFeature service="WFS" version="1.0.0"
|
8 |
|
|
outputFormat="GML2"
|
9 |
|
|
xmlns:topp="http://www.openplans.org/topp"
|
10 |
|
|
xmlns:wfs="http://www.opengis.net/wfs"
|
11 |
|
|
xmlns:ogc="http://www.opengis.net/ogc"
|
12 |
|
|
xmlns:gml="http://www.opengis.net/gml"
|
13 |
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
14 |
|
|
xsi:schemaLocation="http://www.opengis.net/wfs
|
15 |
|
|
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
|
16 |
|
|
<wfs:Query typeName="topp:states">
|
17 |
|
|
<wfs:PropertyName>topp:STATE_NAME</wfs:PropertyName>
|
18 |
|
|
<wfs:PropertyName>topp:PERSONS</wfs:PropertyName>
|
19 |
|
|
<ogc:Filter>
|
20 |
|
|
<ogc:BBOX>
|
21 |
|
|
<ogc:PropertyName>the_geom</ogc:PropertyName>
|
22 |
|
|
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
|
23 |
|
|
<gml:coordinates>-75.102613,40.212597 -72.361859,41.512517</gml:coordinates>
|
24 |
|
|
</gml:Box>
|
25 |
|
|
</ogc:BBOX>
|
26 |
|
|
</ogc:Filter>
|
27 |
|
|
</wfs:Query>
|
28 |
|
|
</wfs:GetFeature>
|