load_spatial | R Documentation |
load_spatial
is a helper function that loads spatial data (vector or
raster) and ensures the projection information matches exactly that selected
for the overall analysis.
load_spatial(x, proj.info, vec = FALSE, wd.loc, path.in)
x |
Character string specifying the file name containing the spatial object. |
proj.info |
Desired projection string in EPSG code format ( |
vec |
Logical indicator of whether the spatial data to be loaded is in
vector format ( |
wd.loc |
Character string identifying the base directory containing both input and output data folders. |
path.in |
Character string identifying the relative path from the base
directory ( |
A Raster* or Spatial* object, projected to the desired project-wide projection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.