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

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.