Acts like a spatial dissolve within a GIS environment. Simplifies a river network object by combining "runs" of segments with no other connections.
dissolve(rivers)
rivers | The river network object to use |
---|
A new river network object with segments combined
This function is called within cleanup, which is recommended in most cases.
line2network
data(Kenai2) plot(x=Kenai2)Kenai2dissolve <- dissolve(rivers=Kenai2)#>plot(x=Kenai2dissolve)