Learn R Programming

sf (version 0.7-2)

st_geometry_type: Return geometry type of an object

Description

Return geometry type of an object, as a factor

Usage

st_geometry_type(x)

Arguments

x

object of class sf or sfc

Value

a factor with the geometry type of each simple feature in x