get_network: Compute river network vector based on a SpatRast multi-layers...

View source: R/dem_processing.R

get_networkR Documentation

Compute river network vector based on a SpatRast multi-layers raster

Description

This function relies on the following GRASS GIS modules : r.stream.order (add-on to be installed)

Usage

get_network(st, gisbase, clip = FALSE)

Arguments

st

A SpatRast object from 'process_dem'

gisbase

The directory path to GRASS binaries and libraries, containing bin and lib sub-directories among others

clip

Remove parts with incomplete contributing areas (logical, default FALSE)

Value

A SpatVector with the corresponding network. The attribute table contains information about network topology.


VincentGodard/gtbox documentation built on Sept. 4, 2022, 3:46 a.m.