nsink_get_flowline: Get flowlines that intersect with a flowpath

View source: R/nsink_generate_flowpath.R

nsink_get_flowlineR Documentation

Get flowlines that intersect with a flowpath

Description

Extract flowlines that intersect with flowpath ends. This uses the actual flowlines as a part of the flowpath instead of simply using the raster derived flowpaths which do not follow the flowlines exactly.

Usage

nsink_get_flowline(flowpath_ends, streams, tot)

Arguments

flowpath_ends

An sf LINESTRING of the flowpath ends, generated with nsink_get_flowpath_ends

streams

NHDPlus streams from nsink_prep_data

tot

NHDPlus time of travel from nsink_prep_data which provides the from and to nodes.

Value

An sf object of the NHDPlus flowlines that occur after a raster flowpath intersects the stream network.


USEPA/nsink documentation built on Feb. 8, 2025, 12:27 p.m.