r.shade(1grass)


NAME

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

KEYWORDS

   raster, elevation, relief, hillshade, visualization

SYNOPSIS

   r.shade
   r.shade --help
   r.shade  [-c]  shade=name  color=name  output=name   [brighten=integer]
   [bgcolor=name]    [--overwrite]    [--help]    [--verbose]    [--quiet]
   [--ui]

   Flags:
   -c
       Use colors from color tables for NULL values

   --overwrite
       Allow output files to overwrite existing files

   --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

   output=name [required]
       Name of shaded raster map

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

   bgcolor=name
       Color to use instead of NULL values
       Either a standard color name, R:G:B triplet, or "none"

DESCRIPTION

   r.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
   result is a raster map created from elevation and the shade raster.

   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.

   NULL values are propagated by default, so  if  any  of  the  two  input
   rasters  contains NULL cell NULL will be also in the output. If -c flag
   is used and cell in color raster is NULL, just shade color is used.  If
   cell  in  shade  raster  is  NULL,  shading  effect  is not applied and
   original colors are used. If bgcolor option is used, NULL value in  any
   input raster will be in the output replaced by the given color.

NOTES

   Refer to the r.his help page for more details; r.shade is a frontend to
   that module with addition of brightness support similar to one provided
   by  d.shade.  However, note that the brightness is not implemenented in
   the same way as  for  d.shade  and  the  results  might  be  different.
   r.shade is using method described in r.his manual page.

EXAMPLES

   In  this  example,  the aspect map in the North Carolina sample dataset
   location is used to hillshade the elevation map:
   g.region raster=aspect -p
   r.shade shade=aspect color=elevation output=elevation_aspect_shaded
   d.mon wx0
   d.rast elevation_aspect_shaded
   In this next example, a shaded relief raster map is created and used to
   create a colorized hillshade raster map for later use:
   g.region raster=elevation
   r.relief input=elevation output=elevation_shaded_relief
   r.shade shade=elevation_shaded_relief color=elevation \
       output=elevation_relief_shaded
   d.mon wx1
   d.rast elevation_relief_shaded
   Interesting  visualizations can be created using different color tables
   for elevation raster map, for example using haxby color table.

   Figure: A detail of raster created by applying shading effect of shaded
   relief  (hillshade) to elevation raster map from North Carolina dataset
   elevation map

SEE ALSO

    r.his, d.his, d.shade, g.pnmcomp, r.slope.aspect, r.relief

AUTHORS

   Hamish Bowman
   Vaclav Petras, NCSU OSGeoREL
   Inspired by d.shade and manual for r.his.

   Last changed: $Date: 2015-09-02 13:01:34 +0200 (Wed, 02 Sep 2015) $

SOURCE CODE

   Available at: r.shade source code (history)

   Main index | Raster index | Topics index | Keywords index  |  Graphical
   index | Full index

    2003-2016 GRASS Development Team, GRASS GIS 7.2.0 Reference Manual





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.