v.to.rast3(1)
β¨ v.to.rast3 β¨
okay bestie, gather round, because we're looking at v.to.rast3 from the GRASS GIS User's Manual and it is lowkey iconic. she takes your 3D vector points and turns them into a 3D raster map. glow-up of the century fr fr π
KEYWORDS: vector, conversion, voxel
πΈ SYNOPSIS πΈ
v.to.rast3
v.to.rast3 --help
v.to.rast3 input=name [layer=string] output=name column=name
[--overwrite] [--help] [--verbose] [--quiet] [--ui]
π Flags
--overwriteβ let your output files just bulldoze whatever was already there. existing files? gone. allow output files to overwrite existing files, periodt.--helpβ prints the usage summary so you're not out here guessing π«Ά--verboseβ verbose module output. she's chatty, she's telling you everything.--quietβ quiet module output. she's giving mysterious, silent, no notes π€«--uiβ force-launch the GUI dialog. for when you want the pretty buttons.
π¦ Parameters
input=name[required] β name of input vector map. or, plot twist, it can be a data source for direct OGR access.layer=stringβ layer number or name. here's the tea: vector features can have category values in different layers, and this number decides which layer we're using. when you're doing direct OGR access, this is the layer name instead. Default:1output=name[required] β name for output 3D raster map. that's your baby, name her well πcolumn=name[required] β name of attribute column. and bestie, the data type must be numeric, no cap. don't try to sneak a string in there.
π DESCRIPTION π
v.to.rast3 converts a GRASS 3D vector point map into a GRASS 3D raster map. that's it. that's the whole vibe. simple, effective, main character energy. β¨
π NOTES π
so when you're converting from a 3D vector point layer to a 3D raster map, here's what actually goes down: each vector point gets converted into a single 3D raster cell (aka a voxel, iykyk) that represents the location of that vector point.
and the cell value? it's the database attribute of the vector point, stored with floating point precision. so your data stays precise, she stays cute. π§
Fig: 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 π
g.region
π«Ά AUTHORS π«Ά
- 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: Saturday Jan 17 05:41:31 2026
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
and that's the whole page bestie, no notes π GRASS 8.4.2, accessed Saturday Jan 17 05:41:31 2026 β go convert some points, you're gonna ate πβ¨
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms