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)
- Set computational region as needed.
- 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). - Specify category value and width before drawing a feature.
- Specify digitizing tool (area, line, point).
- Start digitizing and when you want to finish area or line, use right click.
- Change color of temporary overlay depending on your needs. π¨
- Set different category and repeat.
- At any point you can use Undo or Save. πΎ
- 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 π₯
wxGUIwxGUI componentsr.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
- fedora 44: grass 8.4.2-4.fc44 Β· 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