process_gmted | R Documentation |
The process_gmted()
function imports and cleans raw elevation data,
returning a single SpatRaster
object.
process_gmted(variable = NULL, path = NULL, extent = NULL, ...)
variable |
vector(1). Vector containing the GMTED statistic first and the resolution second. (Example: variable = c("Breakline Emphasis", "7.5 arc-seconds")).
|
path |
character(1). Directory with downloaded GMTED "*_grd" folder containing .adf files. |
extent |
numeric(4) or SpatExtent giving the extent of the raster
if |
... |
Placeholders. |
a SpatRaster
object
SpatRaster
layer name indicates selected variable and resolution, and year
of release (2010).
Mitchell Manware
## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
## amount of data which is not included in the package.
## Not run:
gmted <- process_gmted(
variable = c("Breakline Emphasis", "7.5 arc-seconds"),
path = "./data/be75_grd"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.