Download, rasterize, crop, mask, and reproject Canadian national ecozones shapefile.

prepEcozonesRst(url, destinationPath, studyArea = NULL, rasterToMatch = NULL)

Arguments

url

character. ecozones shapefile url. Default: http://sis.agr.gc.ca/cansis/nsdb/ecostrat/zone/ecozone_shp.zip.

destinationPath

path to data directory where objects will be downloaded or saved to

studyArea

A SpatialPolygons* object used as the principle study region, passed to reproducible::prepInputs().

rasterToMatch

A RasterLayer objects to use as the template for all subsequent raster operations (i.e., the one used throughout the simulation).

Value

RasterLayer