InterpretShapefile: read shapefile as filepath or R object

Description Usage Arguments

Description

allows for shapefiles to be passed as character strings or as R spatial objects in other functions.

Usage

1
InterpretShapefile(x, use_sf = T, quiet = T)

Arguments

x

either an R spatial object or a character string specifying a shapefile path

use_sf

logical, whether or not to try to use use the 'sf' package to read the shapefile quickly.


ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.