Description Usage Arguments Value
View source: R/break_linestrings.R
This function loads an R object with the active geometry "linestring" and a column denoting the minimum value to split large lines with.
1 2 3 4 5 6 | split_lines_using_rules(
x,
max_length = 20,
length_col = "length_m",
messaging = 5
)
|
x |
An sf object or sf dataframe consisting of a column denoting the length of geometry |
max_length |
Maximum length for each linestring. Can also be a floating value. |
length_col |
The field with the length variable |
messaging |
Progress indicator displaying in Percentages |
Returns the same R object with the addition of "splits_in_meters" column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.