R/sfc.R
st_geometry_type.Rd
Return geometry type of an object, as a factor
st_geometry_type(x, by_geometry = TRUE)
object of class sf or sfc
logical; if TRUE, return geometry type of each geometry, else return geometry type of the set
TRUE
a factor with the geometry type of each simple feature geometry in x, or that of the whole set
x