Skip to contents

Get Terrain Raster dataset

Usage

get_raster(folderpath, name = NULL, rename = FALSE, ...)

Arguments

folderpath

Path to raster file, default will be si_path('path_raster')

name

Name of the raster file (with extension), default is set to terrain raster SR_LR.tif

rename

Should the RasterLayer be renamed? If yes, the name is changed to value

...

Additional arguments to be passed to base::list.files. Eg: Use ignore.case = TRUE for non case sensitive search

Value

RasterLayer

Examples

if (FALSE) {
 library(glamr)
 library(gisr)

 get_raster()

 get_raster(name = "sample.tif")
 get_raster(path = "./geodata/raster", name = "sample.tif")
}