View source: R/st_edge_length.R
st_edge_length | R Documentation |
This function calculates the edge length between two geometries.
st_edge_length(
x,
y,
dist.x = 0,
dist.y = 0,
geom.boundary = NULL,
do.preProcessing = TRUE,
return.geom = FALSE,
quiet = TRUE
)
x |
polygon of class |
y |
polygon of class |
dist.x |
buffer distance in mapping units around geometry using |
dist.y |
buffer distance in mapping units around geometry using |
geom.boundary |
polygon of class |
do.preProcessing |
If |
return.geom |
If set to |
quiet |
If set to |
list
with edge length, and if return.geom
is TRUE
also the edge-length-geometry (and eventually buffer results).
If the edge line has incomprehensible gabs(can happen for "complicated" geometries), it can help to use a small buffer distance (< 1, e.g. 1e-04) to get a complete edge line.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.