Description Usage Arguments Details Value
Adds the cell values from a list of landscape rasters to an input locations dataset, usually a subset of BAEA.
1 | AddLandscapeValues(df, raster_stack, long, lat, clean_up)
|
df |
dataframe of location data |
raster_stack |
a RasterStack of landscape data |
long |
column name of longitude data, default = lat_utm |
lat |
column name of latitude data, default = long_utm |
clean_up |
logical, will run a series of steps to clean up the returned output (e.g. removing "_30mc" from column names and deleting unneeded landcover "definition" column). |
The locations dataset and rasters should have the same CRS, otherwise function stops and returns an error message.
The original locations df with additional landscape data columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.