Spatial Predicate Functions
Predicates are optional, but enable the use of sdf_join()
.
Description
Predicates should return a sparse matrix list representation. The elements the list
are an integer vector indicating the features where the predicate is TRUE
.
The vector must be the row position.
Usage
sdf_intersects(x, y, ...)
sdf_contains(x, y, ...)
sdf_within(x, y, ...)
sdf_crosses(x, y, ...)
sdf_covers(x, y, ...)
sdf_covered_by(x, y, ...)
sdf_equals(x, y, ...)
sdf_disjoint(x, y, ...)
sdf_touches(x, y, ...)
sdf_overlaps(x, y, ...)
sdf_intersects(x, y, ...)
sdf_contains(x, y, ...)
sdf_within(x, y, ...)
sdf_crosses(x, y, ...)
sdf_covers(x, y, ...)
sdf_covered_by(x, y, ...)
sdf_equals(x, y, ...)
sdf_disjoint(x, y, ...)
sdf_touches(x, y, ...)
sdf_overlaps(x, y, ...)