Project

General

Profile

1
<!-- Performs a get feature.  Feel free to play with the Filter elements,  -->
2
<!-- to get different results.  No filter will get all features, and you   -->
3
<!-- can do filtering on spatial and non-spatial attributes.  See the ogc  -->
4
<!-- filter specification http://www.opengis.org/docs/02-059.pdf for the   -->
5
<!-- the complete syntax and examples.                                     -->
6
<!--
7
    This particular Query will return the topp:states with the FID (unique ID)
8
    of 'states:3'. (Thats Delaware)
9
    
10
    You can also try a filter like:
11
          <PropertyIsEqualTo>
12
                <PropertyName>STATE_NAME</PropertyName>
13
                <Literal>Delaware</Literal>
14
          </PropertyIsEqualTo>
15
  -->
16
<wfs:GetFeature service="WFS" version="1.0.0"
17
  outputFormat="GML2"
18
  xmlns:topp="http://www.openplans.org/topp"
19
  xmlns:wfs="http://www.opengis.net/wfs"
20
  xmlns:ogc="http://www.opengis.net/ogc"
21
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
  xsi:schemaLocation="http://www.opengis.net/wfs
23
                      http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
24
  <wfs:Query typeName="topp:states">
25
    <ogc:Filter>
26
       <ogc:FeatureId fid="states.3"/>
27
    </ogc:Filter>
28
    </wfs:Query>
29
</wfs:GetFeature>
(3-3/20)