View source: R/layers-raster.R
| mn_elevation | R Documentation |
Terrain rasters for Mongolia from the Copernicus DEM GLO-90.
mn_elevation(
resolution = c("1km", "90m"),
within = NULL,
mask = TRUE,
crs = NULL
)
mn_hillshade(
resolution = c("1km", "90m"),
within = NULL,
mask = TRUE,
angle = 40,
direction = 315,
crs = NULL
)
resolution |
|
within |
Area to return (names or codes). Required for the online
resolutions: |
mask |
If |
crs |
Coordinate reference system of the result. |
angle, direction |
Sun elevation and direction (degrees) for the hillshade. |
resolution = "1km" (default): a national grid in the Albers
projection, downloaded once (about 5 MB) and cached.
resolution = "90m": the original 90 m data, read directly from the
cloud for the area in within (an aimag or smaller). Nothing is cached.
mn_hillshade() computes shaded relief from the elevation, for a
background under other layers.
A terra SpatRaster: elevation in metres, or hillshade values
between 0 and 1.
Copernicus DEM GLO-90, (c) DLR e.V. 2010-2014 and (c) Airbus Defence and Space GmbH 2014-2018, provided under COPERNICUS by the European Union and ESA. Free to use with attribution.
Other raster layers:
mn_landcover(),
mn_population(),
mn_zonal()
elev <- mn_elevation()
terra::plot(elev)
ub <- mn_elevation("90m", within = "Ulaanbaatar")
terra::plot(mn_hillshade(within = "Khovd"), col = grey.colors(100), legend = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.