split_rivers_at_points: Split river lines around point locations

View source: R/utils.R

split_rivers_at_pointsR Documentation

Split river lines around point locations

Description

Split river lines around point locations

Usage

split_rivers_at_points(rivers, pts, tolerance = NULL)

Arguments

rivers

A rivers object returned by import_rivers.

pts

An sf object, points at which to split river lines.

tolerance

A numeric value specifying the distance in map units that points should be snapped to rivers. Set to NULL by default.

Value

A rivers object with non-split rivers replaced with two new features each at opposite sides of the node which splits it. All attributes assumed to be constant.


aarkilanian/dci documentation built on Feb. 5, 2024, 7:12 p.m.