powered by
Vectorised function to calculate number of segments given a max segment length
n_segments(line_length, max_segment_length)
The length of the line
The maximum length of each segment
Other lines: angle_diff(), geo_toptail(), is_linepoint(), line2df(), line2points(), line_bearing(), line_breakup(), line_midpoint(), line_segment(), line_segment1(), line_via(), mats2line(), n_vertices(), onewaygeo(), points2line(), toptail_buff()
angle_diff()
geo_toptail()
is_linepoint()
line2df()
line2points()
line_bearing()
line_breakup()
line_midpoint()
line_segment()
line_segment1()
line_via()
mats2line()
n_vertices()
onewaygeo()
points2line()
toptail_buff()
n_segments(50, 10) n_segments(50.1, 10) n_segments(1, 10) n_segments(1:9, 2)
Run the code above in your browser using DataLab