demPalettes: Named elevation palettes for DEM terrain panoramas

View source: R/dem-palettes.R

demPalettesR Documentation

Named elevation palettes for DEM terrain panoramas

Description

Choose land and water colours for a site panorama. The presets use illustrative elevation tints for different landscapes.

Usage

demPalettes(name = NULL)

Arguments

name

Optional exact preset name. Omit to retrieve the full catalogue.

Details

Pass a preset name to the terrain.palette argument of createHor. Use demPalettes("standalone") to inspect the colours in that preset. Temperate uses green and ochre, arid uses sand and red-brown, alpine runs from forest greens to pale rock and white, and coastal pairs sand and grass with a deep-blue to turquoise water ramp. Relief gives land one neutral tint for inspecting slope shading. Each preset has its own sea_cols vector. Land stops are ordered low to high and water stops deep to shallow. createHor treats elevations at or below sea_level as water for colouring. An inland depression below that threshold also receives the water tint. sea_level=NULL uses the land ramp for all elevations.

Value

With a name, a list containing land_cols and sea_cols. Without a name, a named list of those pairs.

Scientific checks

  • Across 32 synthetic wall panoramas, the largest numerical skyline discrepancy was 0.0261 degrees. Pixel width affected the displayed width of the opening. H04 study.

See Also

createHor

Examples

names(demPalettes())
demPalettes("coastal")$sea_cols

skyscapeR documentation built on Dec. 2, 2026, 1:10 a.m.