wxGUI.rdigit(1grass)

πŸ’– wxGUI.rdigit β€” the Raster Digitizer era πŸ’–

okay bestie, sit down, hydrate, because we're talking about wxGUI Raster Digitizer, the GRASS tool that lives in the manual as wxGUI.rdigit(1grass). It's the little glow-up station where you scribble lines, areas and circles and they become a real raster map. no cap.

🌈 KEYWORDS 🌈

display, GUI, raster, editing, digitizer β€” that's the vibe check, and it passed. πŸ’…


✨ DESCRIPTION ✨

so Raster Digitizer is literally just a simple tool for quickly drawing lines, areas and circles and saving those features into a raster map. That's it. That's the whole main character moment. You get to it from the Map Display toolbar β€” specifically from the combo box on the right. πŸ‘‘

Here's everything Raster Digitizer currently lets you do, and I'm not skipping a single one because they all ate:

  • draw polygons, lines and points πŸŽ€
  • set the category value of the feature you're drawing
  • set feature width β€” that's the width of the line you're digitizing right now, or the diameter of a digitized point, measured in map units
  • create a brand new raster from scratch, or build one off an already existing raster
  • undo edits, and save edits before you leave the digitizer (please do this. pls. πŸ₯Ί)

🌸 the typical workflow (follow along, bestie) 🌸

  1. Set computational region as needed.
  2. Switch to Raster Digitizer and select a map to create. Select either a new raster or create a new raster from existing raster, and also select raster type (CELL, FCELL, DCELL).
  3. Specify category value and width before drawing a feature.
  4. Specify the digitizing tool β€” area, line, or point.
  5. Start digitizing, and when you want to finish an area or a line, use right click.
  6. Change the color of the temporary overlay depending on your needs. πŸ¦‹
  7. Set a different category and repeat. iconic behavior, honestly.
  8. At any point you can use Undo or Save.
  9. If an existing raster is used for the new raster, digitized areas will respect the color table β€” but you can always set a different color table. the freedom. the range. ✨

πŸ“ NOTES πŸ“

Raster Digitizer respects the computational region, including the currently set resolution. no sneaky ignoring the region in this house. πŸ’€


πŸ”₯ EXAMPLES πŸ”₯

okay so in the following figures we start with the elev_lid792_1m raster map from the North carolina sample dataset, and we digitize two buildings β€” one rectangular, one with a circular footprint. Both buildings have the roof level at 130 m. We set the width when digitizing the point to 50 meters, which results in the building having 50 m in diameter. When we're done digitizing, we save the result and explore cast shadows of the buildings with the r.sun module:

g.region raster=elev_lid792_1m
# now create elev_edited raster by digitizing and save
r.slope.aspect elevation=elev_edited slope=elev_slope aspect=elev_aspect
r.sun elevation=elev_edited aspect=elev_aspect slope=elev_slope beam_rad=beam day=172 time=6

Figure: Steps to digitize new buildings on elev_lid792_1m raster map. 🏒🏒


πŸ‘€ SEE ALSO πŸ‘€

  • wxGUI
  • wxGUI components
  • r.in.poly β€” the backend of the digitizer, the girl behind the girl πŸ’…
  • g.gui.vdigit

🫢 AUTHORS 🫢

  • Anna Petrasova, NCSU GeoForALL Laboratory
  • Tomas Zigo (standalone module)

πŸ’œ SOURCE CODE πŸ’œ

Available at: wxGUI Raster Digitizer source code (history)

Accessed: Tuesday Sep 08 11:56:22 2026

Main index | GUI 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 β€” brought to you by a GRASS 8.5.0 Reference Manual moment, source code peeked at on Tuesday Sep 08 11:56:22 2026, with love from the GRASS Development Team (Β© 2003-2026) and all my compliments to the Raster Digitizer for being that girl. go digitize something pretty. πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from