d.rast(1grass)
πΈ NAME πΈ
okay so bestie, meet d.rast β she displays a user-specified raster map in the active graphics frame. that's it, that's the whole job, and she does it flawlessly π
this page lives in the GRASS User's Manual, section 1grass, and the keyword vibe check is: display, graphics, raster. iykyk π¦
β¨ SYNOPSIS β¨
d.rast
d.rast --help
d.rast [-ni] map=name [values=value[-value][,value[-value],...]]
[bgcolor=color] [--help] [--verbose] [--quiet] [--ui]
π Flags
-nβ makes null cells opaque. no vibe transparency, they're showing up.-iβ invert the value list. flip it, reverse it, periodt.--helpβ prints the usage summary, aka the lil recap when you're lost π--verboseβ verbose module output. she'll tell you everything, no gatekeeping.--quietβ quiet module output. shhh mode π€«--uiβ force launching the GUI dialog. main character pop-up energy β¨
π«Ά Parameters
map=name[required] β name of the raster map to be displayed. yes bestie, this one's required, she is NOT optional.values=value[-value][,value[-value],...]β list of categories or values to be displayed. pick your faves β¨bgcolor=colorβ background color (for null). either a standard color name or anR:G:Btriplet. Default:white. π€
π DESCRIPTION π
so like, d.rast displays the specified raster map in the active display frame on the graphics monitor. that's the tea. she shows up, she serves the map, she leaves. iconic behavior honestly π
π EXAMPLE π
bestie let's display raster map "elevation":
d.rast map=elevation
Figure: elevation raster map visualization
now display raster map "elevation" but only the raster cells with values between 75 and 80 meters:
d.rast map=elevation values=75-80
Figure: elevation raster map showing values between 75 and 80 meters
and display raster map "landuse96_28m" but only categories 1 and 2:
d.rast landuse96_28m values=1,2
Figure: landuse raster map showing categories 1 and 2
not her doing all three flawlessly, no cap π§
π SEE ALSO π
d.rast.arrowd.rast.numd.rast.legd.legendd.mond.erased.vect
wxGUI
the whole friend group fr fr π«Ά
π AUTHOR π
James Westervelt, U.S. Army Construction Engineering Research Laboratory. king behavior, we stan π
β SOURCE CODE β
Available at: d.rast source code (history)
Latest change: Wednesday Feb 12 23:02:46 2025 in commit: 9c1146064f7c3c21fb0746063fa8bd2cdf4633cb
Main index | Display index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
and that's the whole page bestie, tysm for reading π
okay so final sign-off: this was GRASS 8.5.0, manual page d.rast from 1grass, dated Wednesday Feb 12 23:02:46 2025, landing in commit 9c1146064f7c3c21fb0746063fa8bd2cdf4633cb. slay, ate, no crumbs left πΈβ¨π
π¦ 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