wxGUI.rdigit(1)

πŸ’… wxGUI Raster Digitizer ✨

okay bestie, welcome to wxGUI.rdigit(1) β€” that's the page name, and the manual it lives in is the GRASS GIS User's Manual. buckle up, we're drawing shapes on rasters today πŸŽ€

KEYWORDS: display, GUI, raster, editing, digitizer


🌸 DESCRIPTION 🌸

The Raster Digitizer is a lil tool that lets you quickly draw lines, areas, and circles, and then save those features into a raster map. no cap. you get to it from the Map Display toolbar β€” specifically from the combo box on the right. iykyk. πŸ¦‹

here's what the Raster Digitizer lets you do rn:

  • 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 currently digitizing, or the diameter of a digitized point, measured in map units)
  • create a new raster from scratch or from an already existing raster ✨
  • undo edits and save edits before you leave the digitizer

🧚 the typical workflow (main character steps)

  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, also select raster type (CELL, FCELL, DCELL).
  3. Specify category value and width before drawing a feature.
  4. Specify digitizing tool (area, line, point).
  5. Start digitizing and when you want to finish area or line, use right click.
  6. Change color of temporary overlay depending on your needs. 🎨
  7. Set different category and repeat.
  8. At any point you can use Undo or Save. πŸ’Ύ
  9. If existing raster is used for the new raster, digitized areas will respect the color table, but you can always set different color table.

πŸ‘‘ NOTES πŸ‘‘

Raster Digitizer respects the computational region, including the currently set resolution. periodt. πŸ’…


🌈 EXAMPLES 🌈

In the following figures we start with the elev_lid792_1m raster map in the North carolina sample dataset and digitize two buildings β€” one rectangular and 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 are done with 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 (backend of digitizer)
  • g.gui.vdigit

🫢 AUTHORS 🫢

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

πŸ“ SOURCE CODE πŸ“

Available at: wxGUI Raster Digitizer source code (history)

Accessed: Saturday Jan 17 05:42:35 2026

Main index | GUI 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, tysm for reading πŸ₯ΉπŸ’– this was GRASS 8.4.2, manual page wxGUI.rdigit(1), accessed Saturday Jan 17 05:42:35 2026 β€” slay, go digitize something iconic βœ¨πŸ‘‘

πŸ“¦ where this page comes from