points2line | R Documentation |
This function makes that makes the creation of sf
objects with LINESTRING geometries easy.
points2line(p)
p |
A spatial (points) obect or matrix representing the coordinates of points. |
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()
,
toptail_buff()
l_sf <- points2line(cents_sf)
plot(l_sf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.