1r.to.rast3(1) Grass User's Manual r.to.rast3(1)
2
3
4
6 r.to.rast3 - Converts 2D raster map slices to one 3D raster volume
7 map.
8
10 raster, volume, conversion
11
13 r.to.rast3
14 r.to.rast3 help
15 r.to.rast3 [-m] input=name[,name,...] output=name [--overwrite]
16 [--verbose] [--quiet]
17
18 Flags:
19 -m
20 Use G3D mask (if exists) with output map
21
22 --overwrite
23 Allow output files to overwrite existing files
24
25 --verbose
26 Verbose module output
27
28 --quiet
29 Quiet module output
30
31 Parameters:
32 input=name[,name,...]
33 2d raster maps which represent the slices
34
35 output=name
36 Name for output raster3d map
37
39 Converts 2D raster map(s) into one G3D raster map. If the 2d and 3d
40 region settings are different, the 2d resolution will be adjust to the
41 3d resolution.
42 | How r.to.rast3 works
43
45 Every 2D raster map is copied as one slice to the G3D raster map.
46 Slices are counted from bottom to the top, so the bottom slice has to
47 be number 1.
48 If fewer 2D raster maps are provided than depths, the last give 2D map
49 is used to fill up the G3D slices to the top.
50
52 EXAMPLE 1
53 This example shows how to convert 6 maps into one 3d map with 6 layers.
54
55 # Mapset data in Location slovakia3d
56 r.to.rast3 input=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 out‐
57 put=new_3dmap
58
59
60 EXAMPLE 2
61 This example shows how to convert 3 maps into one 3d map with 6 layers.
62
63 # Mapset data in Location slovakia3d
64 r.to.rast3 input=prec_1,prec_2,prec_3 output=new_3dmap
65
66
68 g.region, r3.to.rast, r.to.rast3elev
69
71 Soeren Gebbert
72
73 Last changed: $Date: 2007-07-17 11:36:26 +0200 (Tue, 17 Jul 2007) $
74
75 Full index
76
77 © 2003-2008 GRASS Development Team
78
79
80
81GRASS 6.3.0 r.to.rast3(1)