fm_store_points {fmesher} | R Documentation |
Store points in different formats
Description
Convert a matrix of points into different formats.
Usage
fm_store_points(loc, crs = NULL, info = NULL, format = NULL)
Arguments
loc |
a coordinate matrix |
crs |
CRS information to associate with the coordinates |
info |
An optional data.frame of additional data |
format |
character; |
Value
An sf
, data.frame
, or SpatialPointsDataFrame
object, with
optional added information.
Examples
fm_store_points(fmexample$loc, format = "sf")
[Package fmesher version 0.5.0 Index]