st_geometry_type {sf} | R Documentation |
Return geometry type of an object, as a factor
st_geometry_type(x, by_geometry = TRUE)
x |
|
by_geometry |
logical; if |
a factor with the geometry type of each simple feature geometry
in x
, or that of the whole set