removeduplicates: Remove Duplicates

Description Usage Arguments Value Author(s) See Also Examples

View source: R/shortestroute_cleanup.R

Description

Removes duplicated line segments, which can sometimes exist within a shapefile.

Usage

1

Arguments

rivers

The river network object to use

Value

A new river network object with duplicated segments removed, see rivernetwork

Author(s)

Matt Tyers

See Also

line2network

Examples

1
2
3
4
5
data(abstreams0)
zoomtoseg(seg=c(170,171,157),rivers=abstreams0)

abstreams1 <- removeduplicates(rivers=abstreams0)
zoomtoseg(seg=c(166,167,154),rivers=abstreams1)

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