Id capabilities Filter capabilities

38 Copyright © 2010 Open Geospatial Consortium The fes:LogicalOperators element is used to indicate that the filter can process And , Or and Not operators. The XML encoding for the fes:LogicalOperators element is declared by the following XML schema fragment: xsd:element name=LogicalOperators xsd:complexType xsd:element The fes:ComparisonOperators element is used to indicate which comparison operators are supported by a service. The XML encoding of the fes:ComparisonOperators element is declared by the following XML Schema fragment: xsd:complexType name=ComparisonOperatorsType xsd:sequence maxOccurs=unbounded xsd:element name=ComparisonOperator type=fes:ComparisonOperatorType xsd:sequence xsd:complexType xsd:complexType name=ComparisonOperatorType xsd:attribute name=name type=fes:ComparisonOperatorNameType use=required xsd:complexType xsd:simpleType name=ComparisonOperatorNameType xsd:union xsd:simpleType xsd:restriction base=xsd:string xsd:enumeration value=PropertyIsEqualTo xsd:enumeration value=PropertyIsNotEqualTo xsd:enumeration value=PropertyIsLessThan xsd:enumeration value=PropertyIsGreaterThan xsd:enumeration value=PropertyIsLessThanOrEqualTo xsd:enumeration value=PropertyIsGreaterThanOrEqualTo xsd:enumeration value=PropertyIsLike xsd:enumeration value=PropertyIsNull xsd:enumeration value=PropertyIsNil xsd:enumeration value=PropertyIsBetween xsd:restriction xsd:simpleType xsd:simpleType xsd:restriction base=xsd:string xsd:pattern value=extension:\w{2,} xsd:restriction xsd:simpleType xsd:union xsd:simpleType The pattern “extension: OperatorName ” shall be used to list any additional comparison operators that may be added to the filter syntax see 7.12. The token “ OperatorName ” is a placeholder for the actual name of the additional operator.

7.14.5 Spatial capabilities

The fes:Spatial_Capabilities element can be specified by a service to advertise which spatial operators and geometric operands the service supports. If the fes:Spatial_Capabilities element is not specified, a client shall assume that the service does not support any spatial operators. A service that supports spatial filtering shall include a spatial capabilities section in its capabilities document. Spatial capabilities include the ability to filter spatial data of specified geometry types based on the definition of a bounding box BBOX as well as the ability to process the spatial operators declared in this International Standard: Equals, Disjoint, Touches, Within, Overlaps, Crosses, Intersects, Contains, DWithin and Beyond. Spatial capabilities are encoded according to the following XML Schema fragments: xsd:complexType name=Spatial_CapabilitiesType xsd:sequence xsd:element name=GeometryOperands type=fes:GeometryOperandsType xsd:element name=SpatialOperators type=fes:SpatialOperatorsType xsd:sequence