d.rast(1)

πŸ’– d.rast β€” the manual page, but make it make sense πŸ’–

okay bestie, so this is d.rast(1) from the GRASS GIS User's Manual, and honestly? she's an icon. she puts a raster map up on your screen in the active graphics frame, no drama, no cap. let's get into it ✨


🌸 NAME 🌸

d.rast β€” displays user-specified raster map in the active graphics frame.

like literally that's the whole job. you point at a raster, she shows it. main character energy fr πŸ’…


πŸŽ€ KEYWORDS πŸŽ€

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 β€” Make null cells opaque. (the empty ones stop being see-through, periodt)
  • -i β€” Invert value list. (flip it, reverse it, the opposite of what you listed)
  • --help β€” Print usage summary
  • --verbose β€” Verbose module output
  • --quiet β€” Quiet module output
  • --ui β€” Force launching GUI dialog

πŸ’œ Parameters πŸ’œ

  • map=name [required] β€” Name of raster map to be displayed
  • values=value[-value][,value[-value],...] β€” List of categories or values to be displayed
  • bgcolor=color β€” Background color (for null)
    • Either a standard color name or R:G:B triplet
    • Default: white

🌈 DESCRIPTION 🌈

d.rast displays the specified raster map in the active display frame on the graphics monitor. that's it. that's the vibe. she takes your raster and she puts it in the frame, and it ate πŸ’…


🫢 EXAMPLE 🫢

Display raster map "elevation":

d.rast map=elevation

Figure: elevation raster map visualization


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


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


πŸ‘‘ SEE ALSO πŸ‘‘

d.rast.arrow, d.rast.num, d.rast.leg, d.legend, d.mon, d.erase, d.vect

wxGUI


🌟 AUTHOR 🌟

James Westervelt, U.S. Army Construction Engineering Research Laboratory


πŸ’€ SOURCE CODE πŸ’€

Available at: d.rast source code (history)

Accessed: Saturday Jan 17 05:40:36 2026

Main index | Display 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, no crumbs left behind πŸ“

k bye, this was GRASS 8.4.2 and the page is d.rast(1) β€” go display something gorgeous πŸŒΈβœ¨πŸ’–

πŸ“¦ where this page comes from