- Type Parameters:
R
- the type of resources (e.g.Feature
) to filter.
- All Known Subinterfaces:
BinarySpatialOperator<R>
,DistanceOperator<R>
@Classifier(ABSTRACT)
@UML(identifier="SpatialOperator",
specification=ISO_19143)
public interface SpatialOperator<R>
extends Filter<R>
Operator that determines whether its geometric arguments satisfy the stated spatial relationship.
The operator evaluates to
and
,
testing a pair of geometric values where one of the values evaluates to
and
operators, which test for disjointness,
the expression shall evaluate to
true
if the spatial relationship is satisfied.
Otherwise, the operator evaluates to false
.
The nature of the comparison is dependent on the operator type.
This code list does not include the relationships involving a distance parameter.
See DistanceOperatorName
for "within" and "beyond a distance" operations.
Null operand
For all spatial operators in a filter expression, exceptinvalid @link
#DISJOINT
invalid @link
#BEYOND
null
,
shall result in the expression evaluating to false
indicating that the two geometries are disjoint.
In the case of the
invalid @link
#DISJOINT
invalid @link
#BEYOND
true
.- Since:
- 3.1
-
Method Summary
Methods inherited from interface Filter
getExpressions, test
-
Method Details
-
getOperatorType
CodeList<?> getOperatorType()Returns the nature of the operator. The code list can beSpatialOperatorName
orDistanceOperatorName
, depending on the sub-interface.- Specified by:
getOperatorType
in interfaceFilter<R>
- Returns:
- the nature of the operator.
-