elevation_shade: Produces an elevation shaded image from a raster
Description
Produces an elevation shaded image from a raster
Usage
elevation_shade(
raster_dem,
elevation_palette = c("#54843f", "#808080", "#FFFFFF"),
return_png = TRUE,
png_opacity = 0.9
)Arguments
elevation_palette
a vector of colours to use for elevation shading
return_png
TRUE to return an image. FALSE will return a raster
png_opacity
Opacity of the returned image. Ignored if return_png = FALSE
Value
elevation shaded image
Examples
Run this code# NOT RUN {
elevation_shade(example_raster())
# }
Run the code above in your browser using DataLab