View source: R/shortestroute_cleanup.R
removemicrosegs | R Documentation |
Automatically detects and removes segments with total displacement (straight-line distance between endpoints) less than the connectivity tolerance. These segments do not serve any real purpose, are bypassed in routes, and cannot be dissolved.
removemicrosegs(rivers)
rivers |
The river network object to use. |
A new river network object with the specified segments connected (see rivernetwork)
This function is called within cleanup, which is recommended in most cases.
Matt Tyers
line2network
data(abstreams0)
abstreams1 <- removemicrosegs(abstreams0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.