Create simple feature geometry list column, set class, and add coordinate reference system and precision
st_sfc(..., crs = NA_crs_, precision = 0, check_ring_dir = FALSE)
... | zero or more simple feature geometries (objects of class |
---|---|
crs | coordinate reference system: integer with the EPSG code, or character with proj4string |
precision | numeric; see st_as_binary |
check_ring_dir | see st_read |
an object of class sfc
, which is a classed list-column with simple feature geometries.
A simple feature geometry list-column is a list of class
c("stc_TYPE", "sfc")
which most often contains objects of identical type;
in case of a mix of types or an empty set, TYPE
is set to the
superclass GEOMETRY
.
#> Geometry set for 2 features #> geometry type: POINT #> dimension: XY #> bbox: xmin: 0 ymin: 1 xmax: 1 ymax: 1 #> CRS: NA#>#>