50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

sf (version 0.5-0)

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