powered by
Calculates the connectivity matrix for a river network, during import and editing. Called internally.
calculateconnections(lines, tolerance)
A matrix with topological information. See the $connections element of the rivernetwork-class.
$connections
A list of coordinate matrices, each corresponding to a line segment.
The spatial tolerance for establishing connectivity.
Matt Tyers
Gulk_connections <- calculateconnections(lines=Gulk$lines, tolerance=Gulk$tolerance)
Run the code above in your browser using DataLab