View source: R/SOptim_ImportConvertData.R
convertToSAGA | R Documentation |
An auxiliar function used to convert a RasterLayer
, RasterStack
or any raster file (given by a file path)
into SAGA .sdat/.sgrd raster format.
convertToSAGA(rst, outRasterPath, verbose = TRUE, ...)
rst |
An input |
outRasterPath |
The output SAGA raster .sdat file. |
verbose |
Print messages? (default: TRUE) |
... |
Additional parameters passed to |
For RasterStack
objects each individual layer (or band) will be convert to a single .sdat file (this format has
no support for multiband raster files). Each output file will be given a suffix _b1, _b2, ..., _bn according to the band
position.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.