1r.to.rast3elev(1) Grass User's Manual r.to.rast3elev(1)
2
3
4
6 r.to.rast3elev - Creates a 3D volume map based on 2D elevation and
7 value raster maps.
8
10 raster, raster3d, voxel, conversion
11
13 r.to.rast3elev
14 r.to.rast3elev help
15 r.to.rast3elev [-ulm] input=name[,name,...] elevation=name[,name,...]
16 output=name [upper=float] [lower=float] [--overwrite] [--verbose]
17 [--quiet]
18
19 Flags:
20 -u
21 Use the input map values to fill the upper cells
22
23 -l
24 Use the input map values to fill the lower cells
25
26 -m
27 Use G3D mask (if exists) with input map
28
29 --overwrite
30 Allow output files to overwrite existing files
31
32 --verbose
33 Verbose module output
34
35 --quiet
36 Quiet module output
37
38 Parameters:
39 input=name[,name,...]
40 Name of input raster map(s)
41
42 elevation=name[,name,...]
43 Name of elevation raster map(s)
44
45 output=name
46 Name for output raster3d map
47
48 upper=float
49 The value to fill the upper cells, default is null
50
51 lower=float
52 The value to fill the lower cells, default is null
53
55 Creates a 3D volume map based on 2D elevation and value raster maps.
56 If the 2d and 3d region settings are different, the 2d resolution will
57 be adjust to the 3d resolution.
58 | How r.to.rast3elev works
59
61 The hight of the 2D elevation maps will be used to verify the position
62 within the 3D region. If the cell value of the elevation raster maps is
63 located within the 3d region, the cell value of the appropriate 2D
64 input raster maps will be written to the associated 3d cell. There are
65 flags and options to fill the upper and lower 3D cells with a specific
66 value, or the input raster maps values.
67
69 Simple Spearfish example
70 g.region -d
71 g.region res=200 res3=200 t=5000 b=0 tbres=100
72 # Write the values of raster map soils based on the elevation of eleva‐
73 tion.10m
74 # to the 3D map volev
75 r.elev.to.rast3 in=soils elev=elevation.10m out=volev
76 # Write the values of map soils based on the elevation of elevation.10m
77 # to the 3D map volev_l and fill the lower cells with the soils map
78 values
79 r.elev.to.rast3 in=soils elev=elevation.10m out=volev_l -l
80 # Write the values of map soils based on the elevation of elevation.10m
81 # to the 3D map volev_u and fill the upper cells with the soils map
82 values
83 r.elev.to.rast3 in=soils elev=elevation.10m out=volev_u -u
84
85
87 r.to.rast3
88 r3.cross.rast
89 g.region
90
92 Soeren Gebbert
93
94 Last changed: $Date: 2007-05-11 21:09:02 +0200 (Fri, 11 May 2007) $
95
96 Full index
97
98 © 2003-2008 GRASS Development Team
99
100
101
102GRASS 6.3.0 r.to.rast3elev(1)