powered by
Convert a matrix of points into different formats.
fm_store_points(loc, crs = NULL, info = NULL, format = NULL)
An sf, data.frame, or SpatialPointsDataFrame object, with optional added information.
sf
data.frame
SpatialPointsDataFrame
a coordinate matrix
CRS information to associate with the coordinates
An optional data.frame of additional data
character; "sf", "df", "sp"
"sf"
"df"
"sp"
fm_store_points(fmexample$loc, format = "sf")
Run the code above in your browser using DataLab