v.to.rast3.1grass - Man Page

Converts a vector map (only points) into a 3D raster map.


vector, conversion, voxel


v.to.rast3 --help
v.to.rast3 input=name  [layer=string]  output=name column=name  [--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]



Allow output files to overwrite existing files


Print usage summary


Verbose module output


Quiet module output


Force launching GUI dialog


input=name [required]

Name of input vector map
Or data source for direct OGR access


Layer number or name
Vector features can have category values in different layers. This number determines which layer to use. When used with direct OGR access this is the layer name.
Default: 1

output=name [required]

Name for output 3D raster map

column=name [required]

Name of attribute column (data type must be numeric)


v.to.rast3 converts a GRASS 3D vector point map to a GRASS 3D raster map.


When converting from a 3D vector point layer to a 3D raster map a vector point is converted into a single 3D raster cell (voxel) representing the location of the vector point. As 3D raster cell value the database  attribute of the vector point is stored with floating point precision.

This screenshot shows the result of the v.to.rast3 test. Visualized are the cube of the GRASS region, the vector points as black dots and the voxel cells as wireframe model. Only cells with non-null values are shown.

See Also



Original s.to.rast3: Jaro Hofierka, Geomodel s.r.o.
Updated by Radim Blazek

Source Code

Available at: v.to.rast3 source code (history)

Accessed: Thursday Jul 20 05:49:27 2023

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2023 GRASS Development Team, GRASS GIS 8.3.0 Reference Manual


GRASS 8.3.0 GRASS GIS User's Manual