Piotr Labudda пре 9 година
родитељ
комит
c4bf891c4b
1 измењених фајлова са 23 додато и 2 уклоњено
  1. 23 2
      SE/se-lib/ParseOgcFilter.php

+ 23 - 2
SE/se-lib/ParseOgcFilter.php

@@ -3,8 +3,29 @@
 Lib::loadClass('SqlQueryWhereBuilder');
 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:PropertyName>File/@xlink:href</ogc:PropertyName>
 		<ogc:Literal>https://biuro.biall-net.pl/wfs/objects#File.45</ogc:Literal>