convertLayer: Convert shapefile layer to simple features dataframe

View source: R/utils-convert.R

convertLayerR Documentation

Convert shapefile layer to simple features dataframe

Description

Raw shapefiles are read in using st_read. Spatial data are reprojected onto a standard projection (https://epsg.io/4269) before being returned.

If shapefiles have no projection information they are assumed to 'geographic' coordinates .

Usage

convertLayer(dsn = NULL, layer)

Arguments

dsn

dsn argument to sf::st_read().

layer

layer argument to sf::st_read().

Value

An object of class sf.


MazamaSpatialUtils documentation built on Sept. 8, 2023, 5:22 p.m.