|
@@ -3,8 +3,29 @@
|
|
|
Lib::loadClass('SqlQueryWhereBuilder');
|
|
Lib::loadClass('SqlQueryWhereBuilder');
|
|
|
Lib::loadClass('Api_WfsException');
|
|
Lib::loadClass('Api_WfsException');
|
|
|
|
|
|
|
|
-/*
|
|
|
|
|
- * TODO: parse xlink query:
|
|
|
|
|
|
|
+/**
|
|
|
|
|
+ * @see wfs 1.0 wfs:GetFeature schema: http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd
|
|
|
|
|
+ * @see docs wfs 1.1 http://docs.opengeospatial.org/is/04-094r1/04-094r1.html
|
|
|
|
|
+ * wfs:GetFeature
|
|
|
|
|
+ * wfs:Query [ maxOccurs => "unbounded", typeName [ use => "required" ] ]
|
|
|
|
|
+ * ogc:PropertyName [ maxOccurs => "unbounded" ]
|
|
|
|
|
+ * ogc:Filter [ maxOccurs => "1" ]
|
|
|
|
|
+ * ogc:SortBy [ maxOccurs => "1" ]
|
|
|
|
|
+ */
|
|
|
|
|
+
|
|
|
|
|
+/* TODO: fetch with recurse by global wfs:GetFeature attributes
|
|
|
|
|
+ * @see "Example 11" in http://docs.opengeospatial.org/is/04-094r1/04-094r1.html
|
|
|
|
|
+ <wfs:GetFeature traverseXlinkDepth="1" traverseXlinkExpiry="1"> ...
|
|
|
|
|
+ */
|
|
|
|
|
+/* TODO: fetch with recurse by local wfs:XlinkPropertyName
|
|
|
|
|
+ * @see "Example 12" in http://docs.opengeospatial.org/is/04-094r1/04-094r1.html
|
|
|
|
|
+ <wfs:GetFeature>
|
|
|
|
|
+ <wfs:Query typeName="Town">
|
|
|
|
|
+ <wfs:PropertyName>gml:name</wfs:PropertyName>
|
|
|
|
|
+ <wfs:XlinkPropertyName traverseXlinkDepth="2" traverseXlinkExpiry="2">gml:directedNode</wfs:XlinkPropertyName>
|
|
|
|
|
+ */
|
|
|
|
|
+
|
|
|
|
|
+/* TODO: parse xlink query:
|
|
|
<ogc:PropertyIsEqualTo>
|
|
<ogc:PropertyIsEqualTo>
|
|
|
<ogc:PropertyName>File/@xlink:href</ogc:PropertyName>
|
|
<ogc:PropertyName>File/@xlink:href</ogc:PropertyName>
|
|
|
<ogc:Literal>https://biuro.biall-net.pl/wfs/objects#File.45</ogc:Literal>
|
|
<ogc:Literal>https://biuro.biall-net.pl/wfs/objects#File.45</ogc:Literal>
|