Skip to contents

This function makes that makes the creation of sf objects with LINESTRING geometries easy.

Usage

points2line(p)

Arguments

p

A spatial (points) obect or matrix representing the coordinates of points.

Examples

l_sf <- points2line(cents_sf)
plot(l_sf)