Learn R Programming

rivnet (version 0.6.0)

Extract and Analyze Rivers from Elevation Data

Description

Seamless extraction of river networks from digital elevation models data. The package allows analysis of digital elevation models that can be either externally provided or downloaded from open source repositories (thus interfacing with the 'elevatr' package). Extraction is performed via the 'D8' flow direction algorithm of TauDEM (Terrain Analysis Using Digital Elevation Models), thus interfacing with the 'traudem' package. Resulting river networks are compatible with functions from the 'OCNet' package. See Carraro (2023) for a presentation of the package.

Copy Link

Version

Install

install.packages('rivnet')

Monthly Downloads

235

Version

0.6.0

License

MIT + file LICENSE

Maintainer

Luca Carraro

Last Published

February 12th, 2025

Functions in rivnet (0.6.0)

river-class

river class
river_to_igraph

river_to_igraph
river_to_shapefile

Export river network as shapefile
rivnet-package

Extract and Analyze Rivers from Elevation Data.
river_to_AEM

river_to_AEM
points_colorscale

Draw points with a colorscale
rast_riverweight

Compute upstream-averaged raster
wigger

River Wigger
aggregate_river

Aggregate a river
plot

Plot a river
paths_river

Find paths in a river
hydro_river

Assign hydraulic variables to a river network
extract_river

Extract a river
get_riverweight

Get raster values at specific river locations
locate_site

Locate site in a river
covariate_river

Attribute covariates to nodes of a river network
path_velocities_river

Calculate velocities along paths in a river
contour_to_shapefile

Export catchment contour as shapefile
river_to_SSN

Transform river into SSN object