remove_mirror_edges {spNetwork} | R Documentation |
Remove mirror edges
Description
Keep unique edges based on start and end point
Usage
remove_mirror_edges(lines, keep_shortest = TRUE, digits = 3, verbose = TRUE)
Arguments
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 |
Value
A feature collection of linestrings with the mirror edges removed
Examples
#This is an internal function, no example provided
[Package spNetwork version 0.4.4.6 Index]