Project

General

Profile

1
<!-- Performs a between filter to find the states with an area
2
     between 100,000 and 150,000.
3
     Also, it just returns the STATE_NAME, LAND_KM, and geometry 
4
     (instead of all the attributes).  -->
5
<wfs:GetFeature service="WFS" version="1.1.0"
6
  xmlns:topp="http://www.openplans.org/topp"
7
  xmlns:wfs="http://www.opengis.net/wfs"
8
  xmlns:ogc="http://www.opengis.net/ogc"
9
  xmlns:gml="http://www.opengis.net/gml"
10
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11
  xsi:schemaLocation="http://www.opengis.net/wfs
12
                      http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
13
  <wfs:Query typeName="topp:states">
14
  <wfs:PropertyName>topp:STATE_NAME</wfs:PropertyName> 
15
  <wfs:PropertyName>topp:LAND_KM</wfs:PropertyName> 
16
  <wfs:PropertyName>topp:the_geom</wfs:PropertyName> 
17
<ogc:Filter>
18
<ogc:PropertyIsBetween>
19
<ogc:PropertyName>topp:LAND_KM</ogc:PropertyName>
20
<ogc:LowerBoundary><ogc:Literal>100000</ogc:Literal></ogc:LowerBoundary>
21
<ogc:UpperBoundary><ogc:Literal>150000</ogc:Literal></ogc:UpperBoundary>
22
</ogc:PropertyIsBetween>
23
</ogc:Filter>
24
  </wfs:Query>
25
</wfs:GetFeature> 
(14-14/46)