
Clip the beginning and ends SpatialLines to the edge of SpatialPolygon borders
Source:R/toptail.R
toptail_buff.Rd
Takes lines and removes the start and end point, to a distance determined by the nearest polygon border.
Arguments
- l
An sf LINESTRING object
- buff
An sf POLYGON object to act as the buffer
- ...
Arguments passed to rgeos::gBuffer()
See also
Other lines:
angle_diff()
,
geo_toptail()
,
is_linepoint()
,
line2df()
,
line2points()
,
line_bearing()
,
line_breakup()
,
line_midpoint()
,
line_sample()
,
line_segment_sf()
,
line_segment()
,
line_via()
,
mats2line()
,
n_sample_length()
,
n_vertices()
,
onewaygeo()
,
points2line()
,
toptailgs()
,
update_line_geometry()