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

Description Usage Arguments Details

View source: R/extract_spatial.R

Description

Extract the FGDC feature type from an sp object

Usage

1
2
## 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 Nov. 21, 2020, 7:44 p.m.