Interface SpatialOperator<R>

Type Parameters:
R - the type of resources (e.g. Feature) to filter.
All Superinterfaces:
Filter<R>, Predicate<R>
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 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, except
invalid @link
#DISJOINT
and
invalid @link
#BEYOND
, testing a pair of geometric values where one of the values evaluates to null, shall result in the expression evaluating to false indicating that the two geometries are disjoint. In the case of the
invalid @link
#DISJOINT
and
invalid @link
#BEYOND
operators, which test for disjointness, the expression shall evaluate to true.
Since:
3.1