Get the geometry column name of an sf object
Examples
library(sf)
snnu = read_sf(system.file('extdata/snnu.geojson',package = 'sdsfun'))
sf_geometry_name(snnu)
#> [1] "geometry"
Get the geometry column name of an sf object
library(sf)
snnu = read_sf(system.file('extdata/snnu.geojson',package = 'sdsfun'))
sf_geometry_name(snnu)
#> [1] "geometry"