View source: R/linkbetweenseg.R
connect to the next downstream site across segment
1 | linkbetweenseg(segvert.set, arc_sf.set)
|
segvert.set |
a segvert.set compute by site2segvert() containing column: seg, vert, seg1, vert1, onnected. Variable seg and vert is the snaped point from site to tth river, whereas column seg1, vert1 are the downstream snaped point |
arc_sf.set |
a arc sf object from makearc() containing columns: from, seg0, vert0, x0, y0, to, seg1, vert1, x1, y1, geometry |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.