v.to.rast3(1grass)
π v.to.rast3 β the manual, but make it cute π
okay bestie, gather round, because we're looking at v.to.rast3 from the GRASS User's Manual β¨ it lives in the GRASS 8.5.0 Reference Manual and it is exactly the glow-up your 3D vector points have been waiting for.
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β bestie this one lets your output files just bulldoze whatever was already sitting there. Overwrite existing files, no hesitation, no regrets π--helpβ prints the usage summary, aka the little "here's how this works" moment π«Ά--verboseβ verbose module output, she's chatty and she's telling you everything π£οΈβ¨--quietβ quiet module output, the opposite vibe, shhh π€«--uiβ force launching the GUI dialog. pop-up window main character energy π
πΈ Parameters πΈ
input=name[required] β name of the input vector map. it can also be the data source for direct OGR access, iykyk π¦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:1πoutput=name[required] β name for your output 3D raster map. yes, the new baby gets a name πΌcolumn=name[required] β name of the attribute column, and the data type must be numeric, no cap π
π« DESCRIPTION π«
v.to.rast3 converts a GRASS 3D vector point map into a GRASS 3D raster map. that's it, that's the whole job, and she does it flawlessly β¨ (only points though, so don't come at her with lines, she said what she said)
π NOTES π
so when you're converting from a 3D vector point layer to a 3D raster map, each vector point gets turned into a single 3D raster cell β a voxel β representing where that vector point is located. and as the 3D raster cell value? the database attribute of the vector point gets stored, with floating point precision. precise queen π
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)
Latest change: Tuesday Feb 25 14:08:58 2025 in commit: 429a8843c38637325f11575789155d5888d03270
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
and that's a wrap, angel π«Ά this whole thing is Β© 2003-2026 GRASS Development Team, from the GRASS 8.5.0 Reference Manual, and honestly? iconic. ate. periodt πβ¨πΈ
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· 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