This tool creates a pseudo-3D rendering from an input DEM, for the purpose of effective topographic visualization.
wbt_topo_render(
dem,
output,
palette = "soft",
rev_palette = FALSE,
az = 315,
alt = 30,
background_hgt_offset = 10,
polygon = NULL,
background_clr = "[255, 255, 255]",
attenuation = 0.6,
ambient_light = 0.2,
z_factor = 1,
wd = NULL,
verbose_mode = NULL,
compress_rasters = NULL,
command_only = FALSE
)
Returns the tool text outputs.
Name of the input digital elevation model (DEM) raster file.
Name of the output raster file.
Palette name; options are 'atlas', 'high_relief', 'arid', 'soft', 'earthtones', 'muted', 'light_quant', 'purple', 'viridi', 'gn_yl', 'pi_y_g', 'bl_yl_rd', 'deep', 'imhof', and 'white'.
Reverse the palette?.
Light source azimuth direction (degrees, 0-360).
Light source altitude (degrees, 0-90).
Offset height of background, in z-units.
Clipping polygon vector file (optional).
Background red-green-blue (RGB) or red-green-blue-alpha (RGBA) colour, e.g. '[255, 255, 245]
', '[255, 255, 245, 200]
'.
Attenuation parameter. Range is 0-4. Zero means no attenuation.
Ambient light parameter. Range is 0.0-0.7. Zero means no ambient light.
Elevation multiplier, or a vertical exageration.
Changes the working directory. Default: NULL
will use the value in WhiteboxTools settings, see wbt_wd()
for details.
Sets verbose mode. If verbose mode is FALSE
, tools will not print output messages. Default: NULL
will use the value in WhiteboxTools settings, see wbt_verbose()
for details.
Sets the flag used by 'WhiteboxTools' to determine whether to use compression for output rasters. Default: NULL
will use the value in WhiteboxTools settings, see wbt_compress_rasters()
for details.
Return command that would be executed by system()
rather than running tool. Default: FALSE
.