calculateconnections: Calculate the Connectivity Matrix for a River Network

Description Usage Arguments Value Author(s) Examples

View source: R/riverdist_1.R

Description

Calculates the connectivity matrix for a river network, during import and editing. Called internally.

Usage

1

Arguments

lines

A list of coordinate matrices, each corresponding to a line segment.

tolerance

The spatial tolerance for establishing connectivity.

Value

A matrix with topological information. See the $connections element of the rivernetwork-class.

Author(s)

Matt Tyers

Examples

1
Gulk_connections <- calculateconnections(lines=Gulk$lines, tolerance=Gulk$tolerance)

Example output



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