trueif the spatial relationship is satisfied. Otherwise the operator evaluates to
false. The following is adapted from Filter encoding implementation:
are used to test whether the value of a geometric property, potentially referenced using the name of the
property, and a (potentially literal) geometric value satisfy the spatial relationship implied by the operator.
For example, the
Overlaps operator evaluates whether the
value of the specified geometric property and the specified literal geometric value spatially
BBOX element is defined as a convenient
and more compact way of encoding the very common bounding box constraint based on the
BBOX operator should identify all geometries that spatially interact with the box
in some manner.
The spatial operators
Beyond test whether the value of a geometric property is
within or beyond a specified distance of the specified literal geometric value. Distance values
are expressed using the distance
attribute. The content of the distance attribute represents the magnitude of the distance and the
is used to specify the units of measure.
Interface Summary Interface Description BBOXSpatial operator that evaluates to
truewhen the bounding box of the feature's geometry overlaps the bounding box provided in this object's properties.
BBOX3DAn extension to the general BBOX filter for supporting 3D Bounding Boxes that have a minimum and maximum Z-value. BeyondConcrete distance buffer operator that evaluates as
truewhen all of a feature's geometry lies beyond (i.e. is more distant) than the given distance from this object's geometry.
BinarySpatialOperatorAbstract superclass for filter operators that perform some sort of spatial comparison on two geometric objects. BoundedSpatialOperatorMarker interface for spatial operators that are a subset of the BBOX relationship. ContainsConcrete binary spatial operator that evaluates to
trueif the the first geometric operand contains the second.
CrossesConcrete binary spatial operator that evaluates to
trueif the first geometric operand crosses the second (in the sense defined by the OGC Simple Features specification).
DisjointConcrete binary spatial operator that evaluates to
trueif the first operand is disjoint from the second (in the sense defined in the OGC Simple Features specification).
DistanceBufferOperatorAbstract superclass for spatial operators that check that one shape satisfies some relation to a buffer around another shape. DWithinConcrete distance buffer operator that evaluates as true when any part of the first geometry lies within the given distance of the second geometry. EqualsConcrete binary spatial operator that evaluates to
trueif the geometry of the two operands are equal.
IntersectsConcrete binary spatial operator that evaluates to
trueif the two geometric operands intersect.
OverlapsConcrete binary spatial operator that evaluates to
trueif the interior of the first geometry somewhere overlaps the interior of the second geometry.
SpatialOperatorAbstract base class for operators that perform a spatial comparison on geometric attributes of a feature. TouchesConcrete binary spatial operator that evaluates to
trueif the feature's geometry touches, but does not overlap with the geometry held by this object.
WithinConcrete binary spatial operator that evaluates to
trueif the feature's geometry is completely contained by the constant geometry held by this object.