feature_type.SpatialPolygons: get the FGDC feature type of spatial object

View source: R/extract_spatial.R

feature_type.SpatialPolygonsR Documentation

get the FGDC feature type of spatial object

Description

Extract the FGDC feature type from an sp object

Usage

## S3 method for class 'SpatialPolygons'
feature_type(obj)

Arguments

obj

a spatial object from the sf package or sp package

return

a list with feature-ref and feature-type fields

Details

not all sf or sp spatial classes are supported. If you run into one that you need, file an issue https://github.com/USGS-R/meddle/issues


USGS-R/meddle documentation built on April 28, 2024, 3:31 a.m.