Create simple feature geometry list column, set class, and add coordinate reference system and precision
Usage
st_sfc(
...,
crs = NA_crs_,
precision = 0,
check_ring_dir = FALSE,
dim,
recompute_bbox = FALSE
)
Arguments
- ...
zero or more simple feature geometries (objects of class
sfg
), or a single list of such objects;NULL
values will get replaced by empty geometries.- 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
- dim
character; if this function is called without valid geometries, this argument may carry the right dimension to set empty geometries
- recompute_bbox
logical; use
TRUE
to force recomputation of the bounding box