Verify GetFeature with more complex filter
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
This example demonstrates a WFS 2.0 GetFeature POST request.
|
||||
|
||||
WFS 2.0 does not depend on any one GML version and thus
|
||||
requires an explicit namespace and schemaLocation for GML.
|
||||
|
||||
This spatial filter selects a single feature with
|
||||
gml:id="bugsites.2".
|
||||
|
||||
See also:
|
||||
WFS Standard: http://www.opengeospatial.org/standards/wfs
|
||||
Filter Encoding Standard: http://www.opengeospatial.org/standards/filter
|
||||
-->
|
||||
<wfs:GetFeature service="WFS" version="2.0.0"
|
||||
xmlns:wfs="http://www.opengis.net/wfs/2.0"
|
||||
xmlns:fes="http://www.opengis.net/fes/2.0"
|
||||
xmlns:sf="http://www.openplans.org/spearfish"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd">
|
||||
<wfs:Query typeNames="sf:bugsites">
|
||||
<fes:Filter>
|
||||
<fes:Not>
|
||||
<fes:Disjoint>
|
||||
<fes:ValueReference>sf:the_geom</fes:ValueReference>
|
||||
<!-- gml:id is mandatory on GML 3.2 geometry elements -->
|
||||
<gml:Polygon xmlns:gml="http://www.opengis.net/gml/3.2">
|
||||
<gml:exterior>
|
||||
<gml:LinearRing>
|
||||
<!-- pairs must form a closed ring -->
|
||||
<gml:posList srsDimension="2">590431 4915204 590430
|
||||
4915205 590429 4915204 590430
|
||||
4915203 590431 4915204</gml:posList>
|
||||
</gml:LinearRing>
|
||||
</gml:exterior>
|
||||
</gml:Polygon>
|
||||
</fes:Disjoint>
|
||||
</fes:Not>
|
||||
</fes:Filter>
|
||||
</wfs:Query>
|
||||
</wfs:GetFeature>
|
||||
Reference in New Issue
Block a user