~ubuntu-branches/ubuntu/wily/grass/wily

« back to all changes in this revision

Viewing changes to .pc/allows-to-typo.patch/scripts/d.shade/d.shade.html

Tags: 7.0.0~rc1+ds1-1~exp1
* New upstream release candidate.
* Repack upstream tarball, remove precompiled Python objects.
* Add upstream metadata.
* Update gbp.conf and Vcs-Git URL to use the experimental branch.
* Update watch file for GRASS 7.0.
* Drop build dependencies for Tcl/Tk, add build dependencies:
  python-numpy, libnetcdf-dev, netcdf-bin, libblas-dev, liblapack-dev
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Update paths to use grass70.
* Add configure options: --with-netcdf, --with-blas, --with-lapack,
  remove --with-tcltk-includes.
* Update patches for GRASS 7.
* Update copyright file, changes:
  - Update copyright years
  - Group files by license
  - Remove unused license sections
* Add patches for various typos.
* Fix desktop file with patch instead of d/rules.
* Use minimal dh rules.
* Bump Standards-Version to 3.9.6, no changes.
* Use dpkg-maintscript-helper to replace directories with symlinks.
  (closes: #776349)
* Update my email to use @debian.org address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<h2>DESCRIPTION</h2>
 
2
 
 
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.
 
8
 
 
9
<p>
 
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.
 
14
 
 
15
<p>
 
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>.
 
19
 
 
20
 
 
21
<h2>NOTES</h2>
 
22
 
 
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.
 
25
 
 
26
 
 
27
<h2>EXAMPLES</h2>
 
28
 
 
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:
 
31
 
 
32
<div class="code"><pre>
 
33
g.region raster=aspect -p
 
34
d.mon wx0
 
35
d.shade shade=aspect color=elevation
 
36
</pre></div>
 
37
 
 
38
<!--
 
39
image generated using the example above
 
40
display region: g.region -a n=227228 s=220895 w=631362 e=641170
 
41
d.out.file dshade.png
 
42
optipng -o5 dshade.png
 
43
-->
 
44
<center>
 
45
<img src="dshade.png" alt="Elevation with aspect shades">
 
46
<p>
 
47
Figure: A detail of raster created by applying shading effect of aspect
 
48
to elevation raster map from North Carolina dataset elevation map
 
49
<!--
 
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
 
53
in some areas
 
54
-->
 
55
</center>
 
56
 
 
57
In this next example, a shaded relief raster map is created
 
58
and used to create a colorized hillshade:
 
59
 
 
60
<div class="code"><pre>
 
61
g.region raster=elevation
 
62
r.relief input=elevation output=elevation_shaded_relief
 
63
 
 
64
d.mon wx1
 
65
d.shade shade=elevation_shaded_relief color=elevation
 
66
</pre></div>
 
67
 
 
68
Interesting visualizations can be created using different color tables for
 
69
elevation raster map, for example using <tt>haxby</tt> color table.
 
70
 
 
71
 
 
72
<h2>SEE ALSO</h2>
 
73
 
 
74
<em>
 
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>
 
81
</em>
 
82
 
 
83
 
 
84
<h2>AUTHORS</h2>
 
85
 
 
86
Unknown; updated to GRASS 5.7 by Michael Barton
 
87
 
 
88
<p>
 
89
<i>Last changed: $Date: 2014-12-25 15:50:03 +0100 (Thu, 25 Dec 2014) $</i>