Description Usage Arguments Details
Improved version of bisect_line_segments that uses the polyline_splitter from jmt2080ad's github page
1 | bisect_line_segments2(rivsplit, w, resolution, mid = FALSE)
|
rivsplit |
river centerline, split into segments |
w |
width to extend the bisectors on either side of the river centerline |
resolution |
resolution of bathymetry data (m) |
mid |
TRUE to use the middle line segment, FALSE to assume the line segment is straight |
When using mid = FALSE, this function implicitly assumes the line segments are not curved. The consequence of this is that the bisectors may not be somewhat off center, especially when the segments are relatively long. If line segments are relatively long, it is better to set mid = TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.