View source: R/create_covariates.R
create_covariates | R Documentation |
This is an update of cov_dtm.R replacing the processing with 02a from BEC_DevExchange_Work_
create_covariates(dtm, SAGApath = "", output = "./cv-rasters", layers = "all")
dtm |
is a dtm raster object |
SAGApath |
Is the location of SAGA on your system. On linux systems with SAGA GIS installed Use |
output |
Location of where rasters will be saved. |
layers |
The covariates that will be generated. A full list of covariates is listed at: ADD |
Takes a dtm and via SAGA GIS generates the covariates embeded in this function.
This script has been tested with SAGA 7.3 on Windows and Ubuntu 18.
Depending on your system the path to saga_cmd
may need to be specified.
## create_covariates(dtm, ## the dtm (loaded by raster() ) SAGApath = "C:/SAGA/" ## specify location of SAGA on your machine output = "c:/dtm-derived" ) ## specify output folder
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.