~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to raster/r.to.rast3/r.to.rast3.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<h2>DESCRIPTION</h2>
 
2
 
 
3
Converts 2D raster map(s) into one RASTER3D raster map. 
 
4
If the 2d and 3d region settings are different,
 
5
the 2d resolution will be adjust to the 3d resolution.
 
6
 
 
7
<center>
 
8
<img src="r.to.rast3.png" border="0"><br>
 
9
<table border="0" width="700">
 
10
<tr><td><center>
 
11
<i>How r.to.rast3 works</i>
 
12
</center></td></tr>
 
13
</table>
 
14
</center>
 
15
 
 
16
 
 
17
<h2>NOTES</h2>
 
18
Every 2D raster map is copied as one slice to the RASTER3D raster map. Slices
 
19
are counted from bottom to the top, so the bottom slice has to be number 1. 
 
20
<br><br>
 
21
If fewer 2D raster maps are provided than depths, the last give 2D map is
 
22
used to fill up the  RASTER3D slices to the top.
 
23
 
 
24
<h2>EXAMPLES</h2>
 
25
 
 
26
<h3>EXAMPLE 1</h3>
 
27
 
 
28
This example shows how to convert 6 maps into one 3d map with 6 layers.
 
29
<br>
 
30
 
 
31
<div class="code"><pre>
 
32
# Mapset data in Location slovakia3d
 
33
r.to.rast3 input=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 output=new_3dmap
 
34
</pre></div>
 
35
 
 
36
<h3>EXAMPLE 2</h3>
 
37
This example shows how to convert 3 maps into one 3d map with 6 layers.
 
38
<br>
 
39
 
 
40
<div class="code"><pre>
 
41
# Mapset data in Location slovakia3d
 
42
r.to.rast3 input=prec_1,prec_2,prec_3 output=new_3dmap
 
43
</pre></div>                                                                           
 
44
 
 
45
<h2>SEE ALSO</h2>
 
46
 
 
47
<em>
 
48
<a href="g.region.html">g.region</a>,
 
49
<a href="r3.to.rast.html">r3.to.rast</a>,
 
50
<a href="r.to.rast3elev.html">r.to.rast3elev</a>
 
51
</em>
 
52
 
 
53
<h2>AUTHOR</h2>
 
54
Soeren Gebbert
 
55
 
 
56
<p><i>Last changed: $Date: 2013-03-26 21:28:19 +0100 (Tue, 26 Mar 2013) $</i>