elevation_shade: Produces an elevation shaded image from a raster

Description Usage Arguments Value Examples

View source: R/elevation_shade.R

Description

Produces an elevation shaded image from a raster

Usage

1
2
3
4
5
6
elevation_shade(
  raster_dem,
  elevation_palette = c("#54843f", "#808080", "#FFFFFF"),
  return_png = TRUE,
  png_opacity = 0.9
)

Arguments

raster_dem

a raster

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

1

neilcharles/geoviz documentation built on May 6, 2020, 9:06 p.m.