1r.to.rast3(1)               GRASS GIS User's Manual              r.to.rast3(1)
2
3
4

NAME

6       r.to.rast3   -  Converts  2D  raster map slices to one 3D raster volume
7       map.
8

KEYWORDS

10       raster, conversion, voxel
11

SYNOPSIS

13       r.to.rast3
14       r.to.rast3 --help
15       r.to.rast3 [-m] input=name[,name,...]  output=name   [tilesize=integer]
16       [--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]
17
18   Flags:
19       -m
20           Use 3D raster mask (if exists) with output map
21
22       --overwrite
23           Allow output files to overwrite existing files
24
25       --help
26           Print usage summary
27
28       --verbose
29           Verbose module output
30
31       --quiet
32           Quiet module output
33
34       --ui
35           Force launching GUI dialog
36
37   Parameters:
38       input=name[,name,...] [required]
39           2D raster maps which represent the slices
40
41       output=name [required]
42           Name for output 3D raster map
43
44       tilesize=integer
45           The maximum tile size in kilo bytes. Default is 32KB.
46           Default: 32
47

DESCRIPTION

49       Converts  2D  raster  map(s)  into one raster3D map. It is important to
50       properly set the 3D region settings, especially number  or  layers  and
51       depth of layers. If the 2D and 3D region settings are different, the 2D
52       resolution will be adjusted to the 3D resolution.
53
54       How r.to.rast3 works
55
56

NOTES

58       Every 2D raster map is copied as one slice to the raster3D map.  Slices
59       are  counted from bottom to the top, so the bottom slice has to be num‐
60       ber 1.
61       If less number of 2D raster maps are provided than defined depths,  the
62       last  given  2D map is used to fill up the remaining raster3D slices to
63       the top.
64

EXAMPLES

66   EXAMPLE 1
67       This example shows how to convert 6 maps into one 3D map with 6 layers.
68       # Mapset data in Location slovakia3d
69       g.region raster=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 -p
70       g.region b=0 t=600 tbres=100 res3=100 -p3
71       r.to.rast3 input=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 output=new_3dmap
72
73   EXAMPLE 2
74       This example shows how to convert 3 maps into one 3D map with 6 layers.
75       # Mapset data in Location slovakia3d
76       g.region b=0 t=600 tbres=100 res3=100 -p3
77       r.to.rast3 input=prec_1,prec_2,prec_3 output=new_3dmap
78

SEE ALSO

80        g.region, r3.to.rast, r.to.rast3elev
81

AUTHOR

83       Soeren Gebbert
84

SOURCE CODE

86       Available at: r.to.rast3 source code (history)
87
88       Accessed: Saturday Jan 21 21:15:19 2023
89
90       Main index | Raster index | Topics index | Keywords index  |  Graphical
91       index | Full index
92
93       © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
94
95
96
97GRASS 8.2.1                                                      r.to.rast3(1)
Impressum