Transform a spatial object to class sf
Transform a spatial object to class sf
gc_sf(input, ...) ## S4 method for signature 'geom' gc_sf(input = NULL)
input |
the object to transform to class |
... |
other arguments. |
If input
is a geom
and has attributes other than
fid
and gid
, a "Simple feature collection", otherwise a
"Geometry set". Several features of the geom
are returned as MULTI*
feature, when they have gid
and optionally other attributes in
common, otherwise they are returned as a single simple feature.
gc_sf(input = gtGeoms$point) gc_sf(input = gtGeoms$line) gc_sf(input = gtGeoms$polygon)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.