split2SAGA | R Documentation |
Split multiband image to single band SAGA files. If a reference file is given, it performs a resample if necessary to avoid the numerical noise problem of SAGA extent.
split2SAGA(
fn = NULL,
bandName = NULL,
startBand = 1,
endBand = 3,
refFn = NULL,
gdalLinks = NULL,
returnRaster = FALSE
)
fn |
character. filename |
startBand |
numerial. last band to export |
refFn |
character. reference image for resampling |
gdalLinks |
list of gdal installations |
returnRaster |
logical. return as raster |
bandname |
character. list of bandnames c("red","green","blue") |
if returnRaster the splitted SAGA raster is returned as an raster* object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.