.do_intersect | R Documentation |
Helper function to perform the watershed intersection on a single reach
.do_intersect(r, x, y, width, riv_buff, rid, dname)
r |
A single reach, an sf linestring |
x |
A single point, the outlet of r |
y |
A raster stack to intersect |
width |
Buffer width |
riv_buff |
A buffer layer for the entire river |
rid |
The id number of the reach |
dname |
The name of the drainage direction raster in grass |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.