d.shade.html 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <h2>DESCRIPTION</h2>
  2. <em>d.shade</em> will drape a color raster map over a shaded relief map.
  3. In place of shaded relief, any raster map can be used including aspect or slope.
  4. The color raster map is usually an elevation raster map with colorful color
  5. table (as opposed to gray scale color table). However, any raster map can be
  6. used including categorical raster maps.
  7. <p>
  8. The advantage of this module is that it allows visualizing the shaded map
  9. without a need to create a new raster which would combine both.
  10. Comparing to creating shaded relief as semi-transparent overlay on
  11. the color raster map, this module gives result with more saturated colors.
  12. <p>
  13. The input for this module can be created for example using
  14. <a href="r.slope.aspect.html">r.slope.aspect</a> or
  15. <a href="r.relief.html">r.relief</a><br>.
  16. <h2>NOTES</h2>
  17. Refer to the <em><a href="d.his.html">d.his</a></em> help page for more details;
  18. <em>d.shade</em> is simply a frontend to that module.
  19. <h2>EXAMPLES</h2>
  20. In this example, the <tt>aspect</tt> map in the North Carolina sample
  21. dataset location is used to hillshade the <tt>elevation</tt> map:
  22. <div class="code"><pre>
  23. g.region raster=aspect -p
  24. d.mon wx0
  25. d.shade shade=aspect color=elevation
  26. </pre></div>
  27. <!--
  28. image generated using the example above
  29. display region: g.region -a n=227228 s=220895 w=631362 e=641170
  30. d.out.file dshade.png
  31. optipng -o5 dshade.png
  32. -->
  33. <center>
  34. <img src="dshade.png" alt="Elevation with aspect shades">
  35. <p>
  36. Figure: A detail of raster created by applying shading effect of aspect
  37. to elevation raster map from North Carolina dataset elevation map
  38. <!--
  39. TODO: perhaps add some explanation or thoughts about aspect versus shaded
  40. relief such as: in this case the shades created using aspect are much sharper
  41. comparing to what shaded relief would give and there are some extreme values
  42. in some areas
  43. -->
  44. </center>
  45. In this next example, a shaded relief raster map is created
  46. and used to create a colorized hillshade:
  47. <div class="code"><pre>
  48. g.region raster=elevation
  49. r.relief input=elevation output=elevation_shaded_relief
  50. d.mon wx1
  51. d.shade shade=elevation_shaded_relief color=elevation
  52. </pre></div>
  53. Interesting visualizations can be created using different color tables for
  54. elevation raster map, for example using <tt>haxby</tt> color table.
  55. <h2>SEE ALSO</h2>
  56. <em>
  57. <a href="d.his.html">d.his</a>,
  58. <a href="g.pnmcomp.html">g.pnmcomp</a>,
  59. <a href="r.shade.html">r.shade</a>,
  60. <a href="r.slope.aspect.html">r.slope.aspect</a>,
  61. <a href="r.relief.html">r.relief</a><br>
  62. <a href="wxGUI.nviz.html">wxGUI 3D viewer (NVIZ)</a>
  63. </em>
  64. <h2>AUTHORS</h2>
  65. Unknown; updated to GRASS 5.7 by Michael Barton
  66. <!--
  67. <p>
  68. <i>Last changed: $Date$</i>
  69. -->