View source: R/geometrical_functions_sf.R
remove_mirror_edges | R Documentation |
Keep unique edges based on start and end point
remove_mirror_edges(lines, keep_shortest = TRUE, digits = 3, verbose = TRUE)
lines |
A feature collection of linestrings |
keep_shortest |
A boolean, if TRUE, then the shortest line is keeped if several lines have the same starting point and ending point. if FALSE, then the longest line is keeped. |
digits |
An integer indicating the number of digits to keep in coordinates |
A feature collection of linestrings with the mirror edges removed
#This is an internal function, no example provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.