cleanup {riverdist} | R Documentation |
Interactive Cleanup of a River Network
Description
This is the recommended function to use for cleanup of a river network. It calls all available river network editing functions in appropriate sequence, detecting which are needed or recommended, and prompts user input wherever necessary.
Currently, it automatically calls removeduplicates, prompts the user whether to run dissolve, automatically runs removemicrosegs and splitsegments if needed, provides user prompts for addverts and setmouth, detects if segments are unconnected and provides user prompts for removeunconnected or connectsegs, automatically runs checkbraidedTF, and prompts the user whether to run buildsegroutes if no braiding is detected.
Usage
cleanup(rivers)
Arguments
rivers |
The river network object to use |
Value
A new river network object, see rivernetwork
Author(s)
Matt Tyers
See Also
line2network
Examples
data(abstreams0,Koyukuk0,Kenai1)
# abstreams_fixed <- cleanup(abstreams0)
# Koyukuk <- cleanup(Koyukuk0)
# Kenai <- cleanup(Kenai1)