logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

d.shade - Drapes a color raster over an shaded relief or aspect map.

Authors

       Unknown; updated to GRASS 5.7 by Michael Barton

Description

d.shade  will  drape  a color raster map over a shaded relief map.  In place of shaded relief, any raster
       map can be used including aspect or slope.  The color raster map is usually an elevation raster map  with
       colorful  color  table  (as  opposed  to  gray  scale  color  table). However, any raster map can be used
       including categorical raster maps.

       The advantage of this module is that it allows visualizing the shaded map without a need to create a  new
       raster  which would combine both.  Comparing to creating shaded relief as semi-transparent overlay on the
       color raster map, this module gives result with more saturated colors.

       The input for this module can be created for example using r.slope.aspect or r.relief
       .

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.

Keywords

       display, elevation, relief, hillshade, visualization

Name

d.shade  - Drapes a color raster over an shaded relief or aspect map.

Notes

       Refer to the d.his help page for more details; d.shade is simply a frontend to that module.

See Also

d.his,g.pnmcomp,r.shade,r.slope.aspect,r.reliefwxGUI3Dviewer(NVIZ)

Source Code

       Available at: d.shade source code (history)

       Accessed: Friday Apr 04 01:21:10 2025

       Main index | Display index | Topics index | Keywords index | Graphical index | Full index

       © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

GRASS 8.4.1                                                                                      d.shade(1grass)

Synopsis

d.shaded.shade--helpd.shadeshade=namecolor=name  [brighten=integer]   [--help]  [--verbose]  [--quiet]  [--ui]

   Flags:--help
           Print usage summary

       --verbose
           Verbose module output

       --quiet
           Quiet module output

       --ui
           Force launching GUI dialog

   Parameters:shade=name[required]
           Name of shaded relief or aspect raster map

       color=name[required]
           Name of raster to drape over relief raster map
           Typically, this raster is elevation or other colorful raster

       brighten=integer
           Percent to brighten
           Options: -99-99
           Default: 0

See Also