priority_flow.stream_distance
Find the distance to the nearest stream point following drainage directions.
Line-by-line translation of Stream_Distance.R (StreamDist) from the R PriorityFlow package. R uses 1-based indexing; we use 0-based.
Functions
|
Find stream distance using flow-direction traversal upstream from streams. |