3
<em>d.shade</em> will drape a color raster map over a shaded relief map.
4
In place of shaded relief, any raster map can be used including aspect or slope.
5
The color raster map is usually an elevation raster map with colorful color
6
table (as opposed to gray scale color table). However, any raster map can be
7
used including categorical raster maps.
10
The advantage of this module is that it allows to visualize the shaded map
11
without a need to create a new raster which would combine both.
12
Comparing to creating shaded relief as semi-transparent overlay on
13
the color raster map, this module gives result with more saturated colors.
16
The input for this module can be created for example using
17
<a href="r.slope.aspect.html">r.slope.aspect</a> or
18
<a href="r.relief.html">r.relief</a><br>.
23
Refer to the <em><a href="d.his.html">d.his</a></em> help page for more details;
24
<em>d.shade</em> is simply a frontend to that module.
29
In this example, the <tt>aspect</tt> map in the North Carolina sample
30
dataset location is used to hillshade the <tt>elevation</tt> map:
32
<div class="code"><pre>
33
g.region raster=aspect -p
35
d.shade shade=aspect color=elevation
39
image generated using the example above
40
display region: g.region -a n=227228 s=220895 w=631362 e=641170
42
optipng -o5 dshade.png
45
<img src="dshade.png" alt="Elevation with aspect shades">
47
Figure: A detail of raster created by applying shading effect of aspect
48
to elevation raster map from North Carolina dataset elevation map
50
TODO: perhaps add some explanation or thoughts about aspect versus shaded
51
relief such as: in this case the shades created using aspect are much sharper
52
comparing to what shaded relief would give and there are some extreme values
57
In this next example, a shaded relief raster map is created
58
and used to create a colorized hillshade:
60
<div class="code"><pre>
61
g.region raster=elevation
62
r.relief input=elevation output=elevation_shaded_relief
65
d.shade shade=elevation_shaded_relief color=elevation
68
Interesting visualizations can be created using different color tables for
69
elevation raster map, for example using <tt>haxby</tt> color table.
75
<a href="d.his.html">d.his</a>,
76
<a href="g.pnmcomp.html">g.pnmcomp</a>,
77
<a href="r.shade.html">r.shade</a>,
78
<a href="r.slope.aspect.html">r.slope.aspect</a>,
79
<a href="r.relief.html">r.relief</a><br>
80
<a href="wxGUI.nviz.html">wxGUI 3D viewer (NVIZ)</a>
86
Unknown; updated to GRASS 5.7 by Michael Barton
89
<i>Last changed: $Date: 2014-12-25 15:50:03 +0100 (Thu, 25 Dec 2014) $</i>