| toptail_buff | R Documentation |
sf LINESTRING objectsTakes lines and removes the start and end point, to a distance determined
by the nearest buff polygon border.
toptail_buff(l, buff, ...)
l |
An |
buff |
An |
... |
Arguments passed to |
Other lines:
angle_diff(),
geo_toptail(),
is_linepoint(),
line2df(),
line2points(),
line_bearing(),
line_breakup(),
line_midpoint(),
line_segment(),
line_segment1(),
line_via(),
mats2line(),
n_segments(),
n_vertices(),
onewaygeo(),
points2line()
l <- routes_fast_sf
buff <- zones_sf
r_toptail <- toptail_buff(l, buff)
nrow(l)
nrow(r_toptail)
plot(zones_sf$geometry)
plot(l$geometry, add = TRUE)
plot(r_toptail$geometry, lwd = 5, add = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.