View source: R/create_covariates_plan.R
create_covariates_plan | R Documentation |
Covariate raster generation from input dtm.
create_covariates_plan( 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: |
This is an update of cov_dtm.R replacing the processing with 02a from BEC_DevExchange_Work_
Takes a dtm and generates the covariates embeded in this function via SAGA GIS.
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.