????
Current Path : C:/ProgramData/GeoServer/demo/ |
Current File : C:/ProgramData/GeoServer/demo/WFS_getFeatureBetween-1.1.xml |
<!-- Performs a between filter to find the states with an area between 100,000 and 150,000. Also, it just returns the STATE_NAME, LAND_KM, and geometry (instead of all the attributes). --> <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:LAND_KM</wfs:PropertyName> <wfs:PropertyName>topp:the_geom</wfs:PropertyName> <ogc:Filter> <ogc:PropertyIsBetween> <ogc:PropertyName>topp:LAND_KM</ogc:PropertyName> <ogc:LowerBoundary><ogc:Literal>100000</ogc:Literal></ogc:LowerBoundary> <ogc:UpperBoundary><ogc:Literal>150000</ogc:Literal></ogc:UpperBoundary> </ogc:PropertyIsBetween> </ogc:Filter> </wfs:Query> </wfs:GetFeature>