Divide SpatialLines dataset into regular segments
line_segment(l, n_segments, segment_length = NA)
| l | A spatial lines object |
|---|---|
| n_segments | The number of segments to divide the line into |
| segment_length | The approximate length of segments in the output (overides n_segments if set) |
Other lines:
angle_diff(),
geo_toptail(),
is_linepoint(),
line2df(),
line2points(),
line_bearing(),
line_breakup(),
line_match(),
line_midpoint(),
line_sample(),
line_via(),
mats2line(),
n_sample_length(),
n_vertices(),
onewaygeo(),
points2line(),
toptail_buff(),
toptailgs(),
update_line_geometry()
#>#> Warning: CRS object has comment, which is lost in output