riv2nodes: Obtain graph nodes from HydroSheds river network

Description Usage Arguments Value

View source: R/topology.r

Description

Extract the nodes of the HydroSheds river network.

Usage

1

Arguments

riv

a sf dataframe with a topologicaly valid river network. Each linestrings is ordered from upstream (first point of the linestring) to downstream (last point of the linestring), just like in the HydroSheds dataset

Value

nodes a sf dataframe of points marking the nodes of the river network defined as the inlet of each river reach.


SophiaDobko/assimReservoirs documentation built on June 4, 2020, 3:58 p.m.