d.what.rast(1)

✨ d.what.rast(1) ✨

okay bestie, welcome to the GRASS GIS User's Manual πŸ’– this is the page for d.what.rast, and it's genuinely one of the most useful little gremlins in the whole display toolbox. let's get into it 🫢


🌸 NAME 🌸

d.what.rast β€” the way it lets you interactively query raster map layers at locations you pick yourself with your own little cursor. yes, interactively. you point, it tells. iconic behavior honestly πŸ’…


πŸŽ€ KEYWORDS πŸŽ€

display, vector


πŸ¦‹ SYNOPSIS πŸ¦‹

d.what.rast
d.what.rast --help
d.what.rast map=name[,name,...]  [--help]  [--verbose]  [--quiet]
[--ui]

⭐ Flags:

  • --help β€” prints the usage summary so you're not out here guessing
  • --verbose β€” verbose module output, aka it tells you everything
  • --quiet β€” quiet module output, aka it shuts up unless it must speak
  • --ui β€” forces the GUI dialog to launch. no escape 🫢

πŸ“ Parameters:

  • map=name[,name,...] [required] β€” the name(s) of the input raster map(s). you can hand it more than one, comma-separated, and it will handle all of them. required!! do not forget it, bestie 😭

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜• β€” d.what.rast outputs the category value(s) associated with the location(s) you specify, in the raster map layer(s) you specify. you're the main character here, you pick the spot, it reports back.

and if you've got more than one monitor going (very demure, very mindful of you), the active monitor can be selected with d.mon. so you're never accidentally querying the wrong screen πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

d.what.vect, d.redraw, d.erase, d.rast, d.vect, d.mon

like, go read those too. the whole display family is a vibe iykyk 🌈


🌟 AUTHOR 🌟

Anna Petrasova, NCSU GeoForAll Lab

give her her flowers, fr fr πŸ’


🧚 SOURCE CODE 🧚

Available at: d.what.rast source code (history)

Accessed: Saturday Jan 17 05:41:51 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 cap. go query some rasters and slay ✨

much love from the GRASS GIS 8.4.2 Reference Manual, and yes this is d.what.rast(1) signing off πŸ’–πŸŒΈπŸ¦‹πŸŽ€πŸ’…

πŸ“¦ where this page comes from