Description Usage Arguments Value
View source: R/break_linestrings.R
This function loads a sf object with 1 feature, the active geometry "multilinestring" and breaks each of these lines to many points that make up the lines and stitches them back up to linestrings.
1 | break_one_line(line, geom = "geometry", crs = 27700)
|
line |
An sf object or sf dataframe with 1 multilinestring row/feature |
geom |
Field containing the active geometry |
crs |
Default is 27700 |
Returns the same sf object with the multilinestring replaced with smaller linestrings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.