removemicrosegs: Remove Segments that are Smaller than the Connectivity...

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/shortestroute_cleanup.R

Description

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.

Usage

1

Arguments

rivers

The river network object to use.

Value

A new river network object with the specified segments connected (see rivernetwork)

Note

This function is called within cleanup, which is recommended in most cases.

Author(s)

Matt Tyers

See Also

line2network

Examples

1
2

riverdist documentation built on Sept. 10, 2021, 9:06 a.m.