1g.gui.rdigit(1) GRASS GIS User's Manual g.gui.rdigit(1)
2
3
4
6 g.gui.rdigit - Interactive editing and digitizing of raster maps.
7
9 general, GUI, raster, editing, digitizer
10
12 g.gui.rdigit
13 g.gui.rdigit --help
14 g.gui.rdigit [create=name] [base=name] [type=string] [edit=name]
15 [--overwrite] [--help] [--verbose] [--quiet] [--ui]
16
17 Flags:
18 --overwrite
19 Allow output files to overwrite existing files
20
21 --help
22 Print usage summary
23
24 --verbose
25 Verbose module output
26
27 --quiet
28 Quiet module output
29
30 --ui
31 Force launching GUI dialog
32
33 Parameters:
34 create=name
35 Name of new raster map to create
36 Name for output raster map
37
38 base=name
39 Name of base raster map
40
41 type=string
42 Type of raster map to be created
43 Storage type for resultant raster map
44 Options: CELL, FCELL, DCELL
45 Default: CELL
46 CELL: Integer
47 FCELL: Single precision floating point
48 DCELL: Double precision floating point
49
50 edit=name
51 Name of existing raster map to edit
52 Name of input raster map
53
55 display, GUI, raster, editing, digitizer
56
58 Raster Digitizer is a simple tool to quickly draw lines, areas, and
59 circles and save these features in a raster map. It is accessible from
60 the Map Display toolbar (from the combo box on the right).
61
62 Raster Digitizer currently allows you to:
63
64 • draw polygons, lines and points
65
66 • set category value of the feature you are drawing
67
68 • set feature width (width of currently digitized line or diame‐
69 ter of a digitized point in map units)
70
71 • create a new raster from scratch or from an already existing
72 raster
73
74 • undo edits and save edits before leaving the digitizer
75
76 The typical workflow includes these steps:
77
78 1 Set computational region as needed.
79
80 2 Switch to Raster Digitizer and select a map to create. Select
81 either a new raster or create a new raster from existing raster,
82 also select raster type (CELL, FCELL, DCELL)
83
84 3 Specify category value and width before drawing a feature
85
86 4 Specify digitizing tool (area, line, point)
87
88 5 Start digitizing and when you want to finish area or line, use
89 right click
90
91 6 Change color of temporary overlay depending on your needs
92
93 7 Set different category and repeat
94
95 8 At any point you can use Undo or Save
96
97 9 If existing raster is used for the new raster, digitized areas
98 will respect the color table, but you can always set different
99 color table.
100
102 Raster Digitizer respects computational region including the currently
103 set resolution.
104
106 In the following figures we start with elev_lid792_1m raster map in
107 North carolina sample dataset and digitize two buildings, one rectangu‐
108 lar and one with circular footprint. Both buildings have the roof
109 level at 130 m. We set the width when digitizing the point to 50 meters
110 which results in the building having 50 m in diameter. When we are
111 done with digitizing, we save the result and explore cast shadows of
112 the buildings with r.sun module:
113 g.region raster=elev_lid792_1m
114 # now create elev_edited raster by digitizing and save
115 r.slope.aspect elevation=elev_edited slope=elev_slope aspect=elev_aspect
116 r.sun elevation=elev_edited aspect=elev_aspect slope=elev_slope beam_rad=beam day=172 time=6
117 Figure: Steps to digitize new buildings on elev_lid792_1m raster map.
118
120 wxGUI
121 wxGUI components,
122 r.in.poly (backend of digitizer),
123 g.gui.vdigit
124
126 Anna Petrasova, NCSU GeoForALL Laboratory
127 Tomas Zigo (standalone module)
128
130 Available at: wxGUI Raster Digitizer source code (history)
131
132 Accessed: Saturday Jan 21 21:17:59 2023
133
134 Main index | GUI index | Topics index | Keywords index | Graphical in‐
135 dex | Full index
136
137 © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
138
139
140
141GRASS 8.2.1 g.gui.rdigit(1)