powered by
Points as matrix
points_as_mat(pts)
matrix
SpatVector points or sf object
Converts sf points to coordinates matrix