geos_relate {geos} | R Documentation |
Dimensionally extended 9 intersection model
Description
See the Wikipedia entry on DE-9IM
for how to interpret pattern
, match
, and the result of geos_relate()
and/or geos_relate_pattern_create()
.
Usage
geos_relate(geom1, geom2, boundary_node_rule = "mod2")
geos_relate_pattern(geom1, geom2, pattern, boundary_node_rule = "mod2")
geos_relate_pattern_match(match, pattern)
geos_relate_pattern_create(
II = "*",
IB = "*",
IE = "*",
BI = "*",
BB = "*",
BE = "*",
EI = "*",
EB = "*",
EE = "*"
)
Arguments
geom1 , geom2 |
GEOS geometry vectors, recycled to a common length. |
boundary_node_rule |
One of "mod2", "endpoint", "multivalent_endpoint", or "monovalent_endpoint". |
pattern , match |
A character vector representing the match |
II , IB , IE , BI , BB , BE , EI , EB , EE |
One of "0", "1", "2", "T", "F", or "*" describing the dimension of the intersection between the interior (I), boundary (B), and exterior (E). |
Examples
geos_relate_pattern_match("FF*FF1***", c(NA, "FF*FF****", "FF*FF***F"))
geos_relate("POINT (0 0)", "POINT (0 0)")
geos_relate_pattern("POINT (0 0)", "POINT (0 0)", "T********")
geos_relate_pattern_create(II = "T")
[Package geos version 0.2.4 Index]