r3.to.rast.1grass man page

r3.to.rast — Converts 3D raster maps to 2D raster maps


raster3d, conversion, raster, voxel


r3.to.rast --help
r3.to.rast [-mr] input=string output=string  [--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]



Use 3D raster mask (if exists) with input map


Use the same resolution as the input 3D raster map for the 2D output maps, independent of the current region settings


Allow output files to overwrite existing files


Print usage summary


Verbose module output


Quiet module output


Force launching GUI dialog


input=string [required]

3D raster map(s) to be converted to 2D raster slices

output=string [required]

Basename for resultant raster slice maps


Converts one 3D raster map into several 2D raster maps (depends on depths). If the 2D and 3D region settings are different, the 3D resolution will be adjusted to the 2D resolution (the depths are not touched). The user can force r3.to.rast to use the 2D resolution of the input 3D raster map for the output maps, independently from the current region settings.

How r3.to.rast works


Every slice of the 3D raster map is copied to one 2D raster map. The maps are named like output_slicenumber. Slices are counted from bottom to the top, so the bottom slice has number 1. The number of slices is equal to the number of depths.

See Also

r3.cross.rast, r3.out.vtk, r3.out.ascii, g.region


Sören Gebbert

Last changed: $Date: 2013-03-26 21:28:19 +0100 (Tue, 26 Mar 2013) $

Source Code

Available at: r3.to.rast source code (history)

Main index | 3D raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2017 GRASS Development Team, GRASS GIS 7.2.1 Reference Manual


GRASS 7.2.1 Grass User's Manual