cso_get_geo_meta {csodata} | R Documentation |
Returns a data frame with the metadata of a vector shapefile
Description
Takes the output from cso_get_geo
or otherwise and returns
information about it in a data frame.
Usage
cso_get_geo_meta(shp)
Arguments
shp |
sf data.frame. Geographic data stored as an sf object. |
Value
list with eight elements:
The coordinate reference system, itself a list with two elements, the EPSG code (if any, NA value if none), and the proj4string
The number of polygons in the data
If all the polygons are simple (not self-intersecting)
If any polygons are empty
If all of the polygons are valid
The average area of the polygons, including units
Examples
## Not run:
shp_meta <- cso_get_geo_meta(shp)
## End(Not run)
[Package csodata version 1.5.0 Index]