Skip to contents

Get the geometry column name of an sf object

Usage

sf_geometry_name(sfj)

Arguments

sfj

An sf object.

Value

A character.

Examples

library(sf)
snnu = read_sf(system.file('extdata/snnu.geojson',package = 'sdsfun'))
sf_geometry_name(snnu)
#> [1] "geometry"