R/od-funs.R
points2line.RdThis is a simple wrapper around spLines() that makes the creation of
SpatialLines objects easy and intuitive
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_match(),
line_midpoint(),
line_sample(),
line_segment(),
line_via(),
mats2line(),
n_sample_length(),
n_vertices(),
onewaygeo(),
toptail_buff(),
toptailgs(),
update_line_geometry()
l <- points2line(cents)#> Warning: CRS object has comment, which is lost in output#> Warning: Discarded datum Unknown based on WGS84 ellipsoid in CRS definition#> Warning: CRS object has comment, which is lost in output#> Warning: Discarded datum Unknown based on WGS84 ellipsoid in CRS definitionl <- points2line(p)#> Warning: CRS object has comment, which is lost in output#> Warning: Discarded datum Unknown based on WGS84 ellipsoid in CRS definition