d.shade(1)
π d.shade β the GRASS GIS bestie manual β¨
okay so hi, welcome to d.shade(1), a page from the GRASS GIS User's Manual π and honestly? she's giving drama β she drapes a whole color raster over a shaded relief (or aspect) map like it's a little outfit change π
πΈ NAME πΈ
d.shade β drapes a color raster over an shaded relief or aspect map. (yes that's the official wording, "an shaded", we don't gatekeep grammar here π)
π KEYWORDS π
display, elevation, relief, hillshade, visualization β iykyk β¨
π¦ SYNOPSIS π¦
d.shade
d.shade --help
d.shade shade=name color=name [brighten=integer] [--help]
[--verbose] [--quiet] [--ui]
β¨ FLAGS β¨
--helpβ prints the usage summary, aka the cheat sheet π«Ά--verboseβ verbose module output, she's chatty, we love that π¬--quietβ quiet module output, she's mysterious, also love that π€«--uiβ force launching the GUI dialog, pop off with the pretty buttons π¨
π PARAMETERS π
shade=name[required] β the name of the shaded relief or aspect raster map. required, no skipping, bestie π¨color=name[required] β the name of the raster to drape over the relief raster map. typically this raster is elevation or some other colorful raster πΈ also required, also not optional, periodt.brighten=integerβ percent to brighten β¨- Options:
-99-99 - Default:
0
- Options:
π DESCRIPTION π
so d.shade will drape a color raster map over a shaded relief map. that's the whole vibe. but wait, there's range β in place of shaded relief, any raster map can be used, including aspect or slope. yes, literally any of them. and the color raster map? usually it's an elevation raster map with a colorful color table (as opposed to a gray scale color table). however β and this is important β any raster map can be used, including categorical raster maps. no cap. π¦
the advantage of this module is that it lets you visualize the shaded map without a need to create a new raster which would combine both. like, no extra raster, no mess, no clutter, we stay clean. π§ comparing to creating shaded relief as a semi-transparent overlay on the color raster map, this module gives result with more saturated colors. saturated. glowing. main character energy. π₯
the input for this module can be created for example using r.slope.aspect or r.relief.
π NOTES π
refer to the d.his help page for more details; d.shade is simply a frontend to that module. she's a frontend. she's the face. she delegates. iconic behavior honestly. π
β EXAMPLES β
in this example, the aspect map in the North Carolina sample dataset is used to hillshade the elevation map:
g.region raster=aspect -p
d.mon wx0
d.shade shade=aspect color=elevation
Figure: A detail of raster created by applying shading effect of aspect to elevation raster map from North Carolina dataset elevation map
In this next example, a shaded relief raster map is created and used to create a colorized hillshade:
g.region raster=elevation
r.relief input=elevation output=elevation_shaded_relief
d.mon wx1
d.shade shade=elevation_shaded_relief color=elevation
Interesting visualizations can be created using different color tables for elevation raster map, for example using haxby color table. π¨ (haxby?? she's famous, she's the moment.)
πΈ SEE ALSO πΈ
d.hisg.pnmcompr.shader.slope.aspectr.relief- wxGUI 3D viewer (NVIZ) π
π«Ά AUTHORS π«Ά
Unknown; updated to GRASS 5.7 by Michael Barton
π SOURCE CODE π
Available at: d.shade source code (history)
Accessed: Saturday Jan 17 05:41:51 2026
Main index | Display index | Topics index | Keywords index | Graphical index | Full index
okay that's the whole page bestie, go drape some rasters, you're gonna eat π β¨
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual β and this lil rewrite is running on GRASS 8.4.2 π mwah, see u in the group chat π¦π
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms