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.1.0"
17
  xmlns:topp="http://www.openplans.org/topp"
18
  xmlns:wfs="http://www.opengis.net/wfs"
19
  xmlns:ogc="http://www.opengis.net/ogc"
20
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21
  xsi:schemaLocation="http://www.opengis.net/wfs
22
                      http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
23
  <wfs:Query typeName="topp:states">
24
    <ogc:Filter>
25
       <ogc:FeatureId fid="states.3"/>
26
    </ogc:Filter>
27
    </wfs:Query>
28
</wfs:GetFeature>
(9-9/46)