given a set of points with a known mainstem, calculates which incremental flowpath feature each point is on including a measure along the feature. 100 measure is the top, 0 measure is the bottom.

get_hydrologic_locaton(hyl, flowpath)

Arguments

hyl

a set of hydrologic location geometry with an identifier in the first column, the mainstem id in the seccond column, and an sf_column in the third.

flowpath

the flowpath table of an hygeo object.

Value

sf data.frame