read_shps: Reads shapefiles, projects to given crs and returns polygon...

Description Usage Arguments Details

View source: R/read_shps.R

Description

Reads shapefiles, projects to given crs and returns polygon simple feature

Usage

1
read_shps(shp_paths, crs = "lcc_mex", top = TRUE)

Arguments

shp_paths

vector of path to shape files (or single path)

crs

string specifying projection (proj4string) passed to sf::st_transform, defaults to lcc (Mex)

top

in case of multipolygon geometry in one of the single shapefiles, TRUE indicates that only the biggest polygon will be included, if FALSE all polygons will be included

Details

Recieves path(s) to shapefile(s), projects to given crs and returns a single simple feature.


tereom/bnecology documentation built on Nov. 27, 2019, 2:15 p.m.