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