Add Vertices To Maintain a Minumum Distance Between Vertices
In certain cases, such as when there is a lake within a river system, there may be long, straight lines in a river network with vertices only at either end. In these cases, any point data along these stretches would be snapped to the vertices at either end. This function automatically adds equally-spaced vertices along the straight line, according to a specified minimum allowable distance between vertices.
The river network object to use.
The minimum distance to use between vertices. Defaults to 500.
A new river network object with the specified segments connected (see rivernetwork)
This function is called within cleanup, which is recommended in most cases.
1 2 3 4 5 6 7 8
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.