File: wxGUI.html

package info (click to toggle)
grass 8.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 277,040 kB
  • sloc: ansic: 460,798; python: 227,732; cpp: 42,026; sh: 11,262; makefile: 7,007; xml: 3,637; sql: 968; lex: 520; javascript: 484; yacc: 450; asm: 387; perl: 157; sed: 25; objc: 6; ruby: 4
file content (719 lines) | stat: -rw-r--r-- 30,049 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
<!-- meta page description: wxGUI -->
<h2>DESCRIPTION</h2>

<b>wxGUI</b> is a native <em>Graphical User Interface</em> (GUI) for
GRASS GIS. Its main features include displaying geographical data
in 2D and 3D, calling GRASS GIS modules, and interacting with data.

<h3>Overview</h3>
The GUI is composed of <em>three</em> main components:

<ul>
  <li>The <b>Layer Manager</b> includes map layer management, integrated
  command-line prompt, and command output window tab.</li>
  <li>The <b>Map Display Window</b> integrates basic tools for
  zooming, panning, data querying, and map elements (north arrows,
  barscale, etc.). Each display window is associated with its own
  set of map layers in the layer manager. The user may start multiple map
  displays during a session. The map layers for each display are grouped
  under different tabs in the Layer Manager.</li>
  <li><a href="wxGUI.modules.html">Module dialogs</a> enable running GRASS modules
  that can be searched and launched via Tools tab.
  </li>
</ul>

<h3>Layer Manager</h3>

The <em>Layer Manager</em> provides an interactive graphical interface for
creating and managing GRASS displays. There is a toolbar to manage displayed
map layers, a layer tree frame in which map layers for display are organized,
a command output window tab, and interactive command line prompt. On Linux
and Windows platforms, the layer manager also has a menu bar with a set of
pull-down menus for all GRASS GIS functions (analysis, file I/O, GIS
configuration and management); on a Mac, the GRASS functions menu is at the
top of the screen.

<center>
<br>
<img src="wxGUI_layer_manager.png" border="1" alt="screenshot"><br><br>
Figure: Layer Manager screenshot on Ubuntu
</center>

<p>
The top left button of the toolbar opens a new <em>Map Display
Window</em>. Each map display has a unique set of layers to display
and region settings. Other toolbar buttons add layers of different
types for display in the selected map display window. There are
additional buttons for saving or opening workspace file, and others.

<p>
Map layers are listed in the window frame below the toolbar. Layers can
include raster and vector maps, vector labels, and commands (where any
GRASS command can be written). Layers are displayed as arranged in the layer
tree: the bottom layer is displayed first and the top layer is displayed
last, as if the layers were a series of stacked overlays.

<p>
The check box to the left of each layer makes it active or inactive
for display. Only active layers are displayed/redisplayed when the
display button is pressed. Layers can be organized into groups; entire
groups can be activated or deactivated for display. Layer tree
composition can be saved to a workspace file and opened in subsequent
sessions, restoring all layers and their display options.

<p>
A right mouse click on a layer or left clicking the button to the right of
the layer opens a dropdown menu with options to remove or rename the layer
(not the actual map), change its display properties (d.rast and d.vect
options such as color, symbol, etc.), show its metadata (r.info, v.info) or
attributes, if applicable.
<p>
A left mouse double click on a layer opens GUI for its display options
These options are those for the d.* command for each layer type (d.rast,
d.vect, or d.grid, for example).

<h4>Layer Manager Toolbar</h4>

<dl>

  <dt><img src="icons/monitor-create.png" alt="icon">&nbsp;
    <em>Start new map display</em></dt>
  <dd>Opens a new map display and creates empty layer tree tab in Layer Manager.</dd>

  <dt><img src="icons/create.png" alt="icon">&nbsp;
    <em>Create new workspace</em></dt>
  <dd>Removes all layers from the layer tree and creates a new, empty tree
    where new layers can be added.</dd>

  <dt><img src="icons/open.png" alt="icon">&nbsp;
    <em>Open existing workspace file</em></dt>
  <dd>Opens an previously saved workspace file, containing a set of display
    layers and their option settings.</dd>

  <dt><img src="icons/save.png" alt="icon">&nbsp;
    <em>Save current workspace to file</em></dt>
  <dd>Saves current set of layers and their options to a workspace
    file.</dd>

  <dt><img src="icons/layer-open.png" alt="icon">&nbsp;
    <em>Load map layers into workspace</em></dt>
  <dd>Loads selected raster or vector maps into current layer tree.</dd>

  <dt><img src="icons/layer-raster-add.png" alt="icon">&nbsp;
    <em>Add raster map layer</em></dt>
  <dd>Adds raster map to layer tree, see <em><a href="d.rast.html">d.rast</a></em>.
  </dd>

  <dt><img src="icons/layer-raster-more.png" alt="icon">&nbsp;
    <em>Add various raster map layers (RGB, HIS, shaded relief...)</em></dt>
  <dd>Opens a dropdown menu that allows user to select to:

    <dl>
      <dt><img src="icons/layer-raster3d-add.png" alt="icon">&nbsp;
    <em>Add 3D raster map layer</em></dt>
      <dd>Adds 3D raster map to layer tree.</dd>

      <dt><img src="icons/layer-rgb-add.png" alt="icon">&nbsp;
      <em>Add RGB raster layer</em></dt>
      <dd>Combines and displays three raster maps defined as red, green,
    and blue channels to create an RGB color map,
    see <em><a href="d.rgb.html">d.rgb</a></em>.</dd>

      <dt><img src="icons/layer-his-add.png" alt="icon">&nbsp;
      <em>Add HIS raster layer</em></dt>
      <dd>Combines and displays two or three raster maps defined as hue,
    intensity, and (optionally) saturation channels to create a color map,
    see <em><a href="d.his.html">d.his</a></em>.</dd>

      <dt><img src="icons/layer-shaded-relief-add.png" alt="icon">&nbsp;
      <em>Add shaded relief raster map layer </em></dt>
      <dd>Adds shaded relief raster map layer,
      see <em><a href="r.relief.html">r.relief</a></em> and
      <em><a href="d.shade.html">d.shade</a></em>.</dd>

      <dt><img src="icons/layer-aspect-arrow-add.png" alt="icon">&nbsp;
      <em>Add raster arrows layer</em></dt>
      <dd>Adds map of raster cells with directional arrows drawn. Arrow
    direction and length are determined by separate aspect/directional map
    and (optional) slope/intensity map,
    see <em><a href="d.rast.arrow.html">d.rast.arrow</a></em>.</dd>

      <dt><img src="icons/layer-cell-cats-add.png" alt="icon">&nbsp;
      <em>Add raster numbers layer</em></dt>
      <dd>Adds map of raster cells with numbers representing the cell values,
    see <em><a href="d.rast.num.html">d.rast.num</a></em>.</dd>
    </dl>
  </dd>
  <dt><img src="icons/layer-vector-add.png" alt="icon">&nbsp;
    <em>Add vector map layer</em></dt>
  <dd>Adds a vector map layer,
  see <em><a href="d.vect.html">d.vect</a></em>.</dd>

  <dt><img src="icons/layer-vector-more.png" alt="icon">&nbsp;
    <em>Add various vector map layers (thematic, chart...)</em></dt>
  <dd>Opens a dropdown menu that allows user to select to:

    <dl>
      <dt><img src="icons/layer-vector-thematic-add.png" alt="icon">&nbsp;
      <em>Add thematic area (choropleth) map layer
      (for all vector types)</em></dt>
      <dd>Adds layer for thematic display values from a numeric attribute
    column associated with a vector map. Options include: thematic display
    type (graduated colors or point sizes), methods for creating display
    intervals, SQL query of attribute column to limit vector objects to
    display, control of point icon types and sizes, control of thematic
    color schemes, creation of legend for thematic map, and saving the
    results of thematic mapping to a ps.map instructions file for later
    printing,
    see <em><a href="d.vect.thematic.html">d.vect.thematic</a></em>.</dd>

      <dt><img src="icons/layer-vector-chart-add.png" alt="icon">&nbsp;
    <em>Add thematic chart layer (for vector points)</em></dt>
      <dd>Adds layer in which pie or bar charts can be automatically created
    at vector point locations. Charts display values from selected columns
    in the associated attribute table. Options include: chart type, layer
    and attributes to chart, chart colors, and chart size (fixed or based
    on attribute column),
    see <em><a href="d.vect.chart.html">d.vect.chart</a></em>.</dd>
    </dl>
  </dd>
  <dt><img src="icons/layer-group-add.png" alt="icon">&nbsp;
    <em>Add group</em></dt>
  <dd>Adds an empty group. Layers can then be added to the group.</dd>

  <dt><img src="icons/layer-more.png" alt="icon">&nbsp;
    <em>Add grid or vector labels overlay</em></dt>
  <dd>Opens a dropdown menu that allows user to select to:
    <dl>
      <dt><img src="icons/layer-grid-add.png" alt="icon">&nbsp;
      <em>Add overlay grids and lines</em></dt>
      <dd>Adds layer to display regular grid
    see <em><a href="d.grid.html">d.grid</a></em></dd>

      <dt><img src="icons/layer-label-add.png" alt="icon">&nbsp;
    <em>Add labels layer for vector objects (from existing labels file)</em></dt>
      <dd>Add a layer of text from a labels file for vector objects
    created with the <em><a href="v.label.html">v.label</a></em> module.
    A labels file can also be created with a text editor,
    see <em><a href="d.labels.html">d.labels</a></em>.</dd>

      <dt><img src="icons/shortest-distance.png" alt="icon">&nbsp;
      <em>Add geodesic line layer</em></dt>
      <dd>Add layer to display geodesic line for latitude/longitude projects only,
    see <em><a href="d.geodesic.html">d.geodesic</a></em></dd>

      <dt><img src="icons/shortest-distance.png" alt="icon">&nbsp;
      <em>Add rhumbline layer</em>
    <dd>Add layer to display rhumblines (for latitude/longitude projects only),
          see <em><a href="d.rhumbline.html">d.rhumbline</a></em>.</dd>

      <dt><img src="icons/layer-command-add.png" alt="icon">&nbsp;
      <em>Add command layer</em></dt>
      <dd>Adds a layer in which a GRASS GIS command or command list can be entered.
    For a command list use the semi-colon (";") symbol as a separator.
    For example:

<div class="code"><pre>
d.rast soils;d.rast -o roads;d.vect streams col=blue
</pre></div>

Note that when an option of the command contains spaces, you need to
"escape" them with the backslash ('\') character, for example:
<div class="code"><pre>
d.text text=Population\ density
</pre></div>
    </dl>
  </dd>
  <dt><img src="icons/layer-remove.png" alt="icon">&nbsp;
    <em>Delete selected layer</em></dt>
  <dd>Removes selected map layer or map layer group from layer tree.</dd>

  <dt><img src="icons/edit.png" alt="icon">&nbsp;
    <em>Edit vector maps</em></dt>
  <dd>Opens <em><a href="wxGUI.vdigit.html">vector digitizer</a></em> to allow editing selected vector map.</dd>

  <dt><img src="icons/table.png" alt="icon">&nbsp;
    <em>Show attribute table</em></dt>
  <dd>Opens <em><a href="wxGUI.dbmgr.html">attribute table manager</a></em> for selected vector map.</dd>

  <dt><img src="icons/layer-open.png" alt="icon">&nbsp;
    <em>Import raster or vector data</em></dt>
  <dd>
    <dl>
      <dt><img src="icons/layer-import.png" alt="icon">&nbsp;
      <em>Import raster data</em></dt>
      <dd>Import selected raster data into GRASS
      using <em><a href="r.in.gdal.html">r.in.gdal</a></em> and load
      them into current layer tree.</dd>

      <dt><img src="icons/layer-import.png" alt="icon">&nbsp;
      <em>Link external raster data</em></dt>
      <dd>Link selected external raster data as GRASS raster maps
      (using <em><a href="r.external.html">r.external</a></em>) and
      load them into current layer tree.</dd>

      <dt><img src="icons/layer-export.png" alt="icon">&nbsp;
      <em>Set raster output format</em></dt>
      <dd>Define external format for newly created raster maps
      (see <em><a href="r.external.out.html">r.external.out</a></em>
      for details)</dd>

      <dt><img src="icons/layer-import.png" alt="icon">&nbsp;
      <em>Import vector data</em></dt>
      <dd>Import selected vector data into GRASS
      using <em><a href="v.in.ogr.html">v.in.ogr</a></em> and load
      them into current layer tree.</dd>

      <dt><img src="icons/layer-import.png" alt="icon">&nbsp;
      <em>Link external vector data</em></dt>
      <dd>Link selected external vector data as GRASS vector maps
      (using <em><a href="v.external.html">v.external</a></em>) and
      load them into current layer tree.</dd>

      <dt><img src="icons/layer-export.png" alt="icon">&nbsp;
      <em>Set vector output format</em></dt>
      <dd>Define external format for newly created vector maps
      (see <em><a href="v.external.out.html">v.external.out</a></em>
      for details)</dd>
    </dl>
</dd>

  <dt><img src="icons/raster-calculator.png" alt="icon">&nbsp;
    <em>Raster Map Calculator</em></dt>
  <dd>Launches Raster Calculator GUI front-end
  for <em><a href="r.mapcalc.html">r.mapcalc</a></em>.</dd>

  <dt><img src="icons/modeler-main.png" alt="icon">&nbsp;
    <em>Graphical Modeler</em></dt>
  <dd>Launches <em><a href="wxGUI.gmodeler.html">graphical
  modeler</a></em> to create models and run them.</dd>

  <dt><img src="icons/georectify.png" alt="icon">&nbsp;
    <em>Georectifier Tool</em></dt>
  <dd>Launches <em><a href="wxGUI.gcp.html">GCP
    Manager</a></em> to create, edit, and manage Ground Control
    Points.</dd>

  <dt><img src="icons/print-compose.png" alt="icon">&nbsp;
    <em>Cartographic Composer</em></dt>
  <dd>Launches <em><a href="wxGUI.psmap.html">Cartographic
    Composer</a></em> to create interactively hardcopy map
    outputs.</dd>

  <dt><img src="icons/settings.png" alt="icon">&nbsp;
    <em>Show GUI settings</em></dt>
  <dd>Opens dialog to change GUI settings.</dd>

  <dt><img src="icons/help.png" alt="icon">&nbsp;
    <em>Show help</em></dt>
  <dd>Opens GRASS manual.</dd>

</dl>

<h3>Map Display Window</h3>

The map display window includes toolbar that can be docked and undocked from
the window, a map canvas where a map composition of one or more layers is
displayed, and a statusbar with information about the geographic region of
the maps displayed.

<center>
  <br><img src="wxGUI_map_display.jpg" alt="Map Display Window"><br><br>
Figure: Map Display screenshot on Ubuntu
</center>

<p>
Each Map Display Window has a unique layer tree (in the layer manager)
and geographic <em>region</em> setting. At the top of the window is a
toolbar with buttons to manage the map in the display (render, erase, zoom
and pan), for query and and analysis (distance measurement, profile,
and histogram creation), to overlay map elements onto the display (scale,
north arrow, legend, and custom text), and to export or print the display.

<p>
In the statusbar, the user can choose to display the geographic coordinates
under the cursor, current geographical region extent, computational region
(including graphical visualization in map display), map display geometry
(number of rows, columns, resolution) and map scale. Checking the
<em>render</em> button in the statusbar will cause the map display to update
automatically any time a map is added to, removed from, or changed in its
layer tree.

<p>
It is important to note that zooming in any display will
have <em>no</em> effect on the 'computational region' setting (set
with <em><a href="g.region.html">g.region</a></em>). Only by selecting
the 'Set current region to match display' item in the zoom menu (in
the map display toolbar) will the current display extents be copied to
the computational region extents.

<h4>Map Display Toolbar</h4>

<dl>

  <dt><img src="icons/layer-redraw.png" alt="icon">&nbsp;
    <em>Re-render display</em></dt>
  <dd>Re-renders all active map layers regardless of whether they have changed
    or not, see <em><a href="d.redraw.html">d.redraw</a></em>.</dd>

  <dt><img src="icons/erase.png" alt="icon">&nbsp;
    <em>Erase display</em></dt>
  <dd>Erases the currently selected map display to a white background,
    see <em><a href="d.erase.html">d.erase</a></em>.</dd>

  <dt><img src="icons/pointer.png" alt="icon">&nbsp;
    <em>Pointer</em></dt>
  <dd>Select arrow cursor for map display.</dd>

  <dt><img src="icons/select.png" alt="icon">&nbsp;
    <em>Select features from vector map</em></dt>
  <dd>Interactively select features from given vector map. Selection
  can be stored to a new vector map,
  see <em><a href="v.what.html">v.what</a></em>
  and <em><a href="v.extract.html">v.extract</a></em>.</dd>

  <dt><img src="icons/info.png" alt="icon">&nbsp;
    <em>Query raster/vector maps</em></dt>
    <dd>Query selected raster, RGB raster (all three map channels will be
    queried), or vector map(s) using the mouse. Map(s) must be selected
    before query.  Vector charts and thematic vector maps cannot be
    queried. The results of the query will be displayed in a dialog.
    See <em><a href="r.what.html">r.what</a>, <a href="v.what.html">v.what</a></em>.
  </dd>

  <dt><img src="icons/pan.png" alt="icon">&nbsp;
    <em>Pan</em></dt>
  <dd>Interactive selection of a new center of view in the active
    display monitor. Drag the pan cursor while pressing the left mouse
    button to pan.  Panning changes the location of the region displayed
    but not the size of the area displayed or the resolution. Panning
    does <em>not</em> affect the computational region for other GIS
    processes, see <em><a href="g.region.html">g.region</a></em>.</dd>

  <dt><img src="icons/zoom-in.png" alt="icon">&nbsp;
    <em>Zoom in</em></dt>
  <dd>Interactive zooming with the mouse in the active display monitor.
    Drawing a box or just click with the mouse (left button) and zoom-in
    cursor causes the display to zoom in so that the area defined by the
    box fills the display. The map resolution is not changed. Clicking
    with the zoom-in cursor causes the display to zoom in by 30%, centered
    on the point where the mouse is clicked. Zooming resets the display
    region extents (both size and location of area displayed). It
    does <em>not</em> affect the computational region for other GIS
    processes, see <em><a href="g.region.html">g.region</a></em>.</dd>

  <dt><img src="icons/zoom-out.png" alt="icon">&nbsp;
    <em>Zoom out</em></dt>
  <dd>Interactive zooming with the mouse in the active display monitor.
    Drawing a box or just click with the mouse (left button) and zoom-out
    cursor causes the display to zoom in so that the area displayed
    shrinks to fill the area defined by the box. The map resolution is not
    changed. Clicking with the zoom-out cursor causes the display to zoom
    out by 30%, centered on the point where the mouse is clicked. Zooming
    resets the display region extents (both size and location of area
    displayed). It does <em>not</em> affect the computational region for
    other GIS processes,
    see <em><a href="g.region.html">g.region</a></em>.</dd>

  <dt><img src="icons/zoom-extent.png" alt="icon">&nbsp;
    <em>Zoom to selected map(s)</em></dt>
  <dd>Set zoom extent based on selected raster or vector maps. Zooming
    resets the display region extents (both size and location of area
    displayed). It does <em>not</em> affect the computational region
    for other GIS processes,
    see <em><a href="g.region.html">g.region</a></em>.</dd>

  <dt><img src="icons/zoom-region.png" alt="icon">&nbsp;
    <em>Zoom to computational region extent</em></dt>
  <dd>Set zoom extent based on the current computational region extent,
    see <em><a href="g.region.html">g.region</a></em>.</dd>

  <dt><img src="icons/zoom-last.png" alt="icon">&nbsp;
    <em>Return to previous zoom</em></dt>
  <dd>Returns to the previous zoom extent. Up to 10 levels of zoom back are
    maintained, see <em><a href="g.region.html">g.region</a></em>.</dd>

  <dt><img src="icons/zoom-more.png" alt="icon">&nbsp;
    <em>Various zoom options</em></dt>
  <dd>Opens a dropdown menu that allows user to:
    <ul>
      <li><em>Zoom to default region</em></li>
      <li><em>Zoom to saved region</em>. Zooms to previously
      saved named region.</li>
      <li><em>Set computational region extent from display.</em>
      The computational region (the mapset's <code>WIND</code> file)
      is set to match the current display extent (does not change
      the resolution), see <em><a href="g.region.html">g.region</a></em>.</li>
      <li><em>Set computational region extent interactively.</em>
      The computational region is set simply by drawing a box with
      the left mouse button on Map Display.</li>
      <li><em>Set computational region from named region</em>.
      This option doesn't affect display zoom.</li>
      <li><em>Save display geometry to named region</em></li>
      <li><em>Save computational region to named region</em></li>
    </ul>
  </dd>

  <dt><img src="icons/layer-raster-analyze.png" alt="icon">&nbsp;
    <em>Analyze menu</em></dt>
  <dd>Opens a dropdown menu with:
    <dl>
      <dt><img src="icons/measure-length.png" alt="icon">&nbsp;
        <em>Measure distance</em></dt>
      <dd>Interactive measurement of lengths defined with the mouse. The
        length of each segment and the cumulative length of all segments
        measuered is displayed in the command output window frame. Lengths are
        measured in the current measurement unit. Double-click to switch off measuring.</dd>

      <dt><img src="icons/area-measure.png" alt="icon">&nbsp;
        <em>Measure area</em></dt>
      <dd>Interactive measurement of area defined with the mouse. Area is
        measured in the current measurement unit. Double-click to switch off measuring.</dd>

      <dt><img src="icons/layer-raster-profile.png" alt="icon">&nbsp;
        <em>Profile surface map</em></dt>
      <dd>Interactively create profile of a raster map. Profile transect is
    drawn with the mouse in map display. The profile may be of the
    displayed map or a different map. Up to three maps can be profiled
    simultaneously.</dd>

      <dt><img src="icons/layer-raster-profile.png" alt="icon">&nbsp;
        <em>Create bivariate scatterplot of raster maps</em></dt>
      <dd>Interactively create bivariate scatterplot of raster
      maps.</dd>

      <dt><img src="icons/layer-raster-histogram.png" alt="icon">&nbsp;
        <em>Create histogram of raster map</em></dt>
      <dd>Displays histogram of selected raster map or image in new
      window.</dd>

      <dt><img src="icons/layer-raster-histogram.png" alt="icon">&nbsp;
        <em>Create histogram with d.histogram</em></dt>
      <dd>Displays histogram of selected raster map or image in new
        window,
        see <em><a href="d.histogram.html">d.histogram</a></em>.</dd>

      <dt><img src="icons/vector-tools.png" alt="icon">&nbsp;
        <em>Vector network analysis tool</em></dt>
      <dd>See tool's <a href="wxGUI.vnet.html">manual page</a>.</dd>
    </dl>
  </dd>

  <dt><img src="icons/overlay-add.png" alt="icon">&nbsp;
    <em>Add overlay</em></dt>
  <dd>opens a dropdown menu that allows user to

    <dl>
    <dt><img src="icons/legend-add.png" alt="icon">&nbsp;
      <em>Add raster map legend</em></dt>
    <dd>Adds layer to display with legend of selected raster map,
      see <em><a href="d.legend.html">d.legend</a></em>.</dd>

    <dt><img src="icons/scalebar-add.png" alt="icon">&nbsp;
      <em>Add scalebar</em></dt>
    <dd>Adds layer to display a scalebar. Options
      include scalebar placement (using screen coordinates or a mouse),
      scalebar format, and scalebar colors,
      see <em><a href="d.barscale.html">d.barscale</a></em>.</dd>

    <dt><img src="icons/north-arrow-add.png" alt="icon">&nbsp;
      <em>Add north arrow</em></dt>
    <dd>Adds layer to display a north arrow. Options
      include north arrow placement (using screen coordinates or a mouse),
      north arrow style and color,
      see <em><a href="d.northarrow.html">d.northarrow</a></em>.</dd>

    <dt><img src="icons/text-add.png" alt="icon">&nbsp;
      <em>Add text layer</em></dt>
    <dd>Adds layer to display a line of text using default GRASS font
      (selected with <em><a href="d.font.html">d.font</a></em>).  Options
      include: text placement (screen coordinates); and text size, bolding,
      and color, see <em><a href="d.text.html">d.text</a></em>.</dd>
    </dl>
  </dd>

  <dt><img src="icons/map-export.png" alt="icon">&nbsp;
    <em>Save display to graphic file</em></dt>
  <dd>Save the visible image in map display to different raster graphic formats.</dd>

  <dt><img src="icons/print.png" alt="icon">&nbsp;
    <em>Print map</em></dt>
  <dd>Prints map on system native printer or PostScript device;
    saves visible map display (including PostScript text and labels) to PDF
    or EPS file.</dd>
  <dt><em>Map display mode</em></dt>
  <dd>Opens a dropdown menu for selecting different display mode
    <dl>
      <dt><em>2D view</em></dt>
      <dd>Normal GIS display. All active layers are composited and displayed
    in 2D mode.</dd>

      <dt><em>3D view</em></dt>
      <dd>Experimental replacement for NVIZ. Displays all active layers in
    3D perspective using OpenGL. A new control panel opens to manage the
    3D view. 3D view can be zoomed, panned, rotated, and tilted. The
    vertical exaggeration of rasters and 3D vectors can be set. Various
    color and lighten settings are possible. Not yet functional for
    Windows platforms</dd>

      <dt><em>Vector digitizer</em></dt>
      <dd>Puts display into vector digitizing mode and opens a new digitizing
    toolbar. The user can digitize a new vector map or edit an existing
    map.</dd>

      <dt><em>Raster digitizer</em></dt>
      <dd>Puts display into raster digitizing mode and opens a new digitizing
    toolbar. The user can digitize a new raster map or edit an existing
    map.</dd>
    </dl>
  </dd>

</dl>

<h3>Keyboard short-cuts</h3>

<h4>Layer Manager</h4>

<dl>
  <dt>Ctrl+Tab</dt>
  <dd>Switch 'Layers' and 'Console' tab</dd>
  <dt>Ctrl+Q</dt>
  <dd>Quit</dd>
  <dt>Ctrl+R</dt>
  <dd>Render map in all map displays</dd>
</dl>

<b>Workspace</b>
<dl>
  <dt>Ctrl+N</dt>
  <dd>Create new workspace</dd>
  <dt>Ctrl+O</dt>
  <dd>Load workspace from file</dd>
  <dt>Ctrl+S</dt>
  <dd>Close workspace</dd>
</dl>

<b>Layers</b>
<dl>
  <dt>Ctrl+Shift+L</dt>
  <dd>Add multiple raster or vector map layers to current map display</dd>
  <dt>Ctrl+Shift+R</dt>
  <dd>Add raster map layer to current map display</dd>
  <dt>Ctrl+Shift+V</dt>
  <dd>Add vector map layer to current map display</dd>
  <dt>Ctrl+W</dt>
  <dd>Close current map display</dd>
</dl>

<b>Console</b>
<dl>
  <dt>Tab</dt>
  <dd>Show command tooltips</dd>
  <dt>Esc</dt>
  <dd>Hide command tooltips</dd>
  <dt>Ctrl+Space</dt>
  <dd>Show auto-complete suggestions</dd>
  <dt>Up/Down</dt>
  <dd>List command history</dd>
  <dt>Enter</dt>
  <dd>Run command</dd>
  <dt>Ctrl++</dt>
  <dd>Increase font size (numerical keyboard plus key)</dd>
  <dt>Ctrl+-</dt>
  <dd>Decrease font size (numerical keyboard minus key)</dd>
  <dt>Ctrl+mouse wheel</dt>
  <dd>Increase or decrease font size</dd>
</dl>

<h4>Map Display</h4>

<dl>
  <dt>F11</dt>
  <dd>Fullscreen mode (toggle on/off)</dd>
  <dt>Ctrl+W</dt>
  <dd>Close map display</dd>
  <dt>Ctrl+R</dt>
  <dd>Render map (re-renders map)</dd>
  <dt>F5</dt>
  <dd>Render map (re-renders map)</dd>
</dl>

<h3>Starting the GUI from command line</h3>

By default, the GUI is always started, but if only the command line (shell) is
running, the GUI can be also started manually using:

<div class="code"><pre>
g.gui
</pre></div>

If the wxGUI is not the default user interface, it can defined as default by
typing at the GRASS GIS command line:

<div class="code"><pre>
g.gui -d wxpython
</pre></div>

Alternatively, it may be defined in the main configuration file
(<code>$HOME/.grass8/rc</code> on GNU/Linux and macOS, <code>%APPDATA%\Roaming\GRASS8\rc</code>
on MS Windows) using the <code>GUI</code> variable set to <code>wxpython</code>
(<code>GUI: wxpython</code>) or by the environmental variable <code>GRASS_GUI</code>.


To start with a previously saved workspace file:

<div class="code"><pre>
g.gui workspace=file.gxw
</pre></div>

<p>
The user can also start GRASS from the shell command line with the wxGUI
specifying the <code>--gui</code> switch:

<div class="code"><pre>
grass --gui
</pre></div>

<p>
The GUI can be quit by selecting the 'File &gt; Quit GRASS GIS' menu item
which gives options to close only GUI or to quit GRASS GIS entirely
if GRASS GIS is running with a command line (a shell in a terminal application).
Exiting the shell (typically by the <code>exit</code> command) ends the GRASS session
including any running GUIs.

<h3>Background information</h3>

<b>wxGUI</b> is a native <em>Graphical User Interface</em> (GUI) for
GRASS GIS written in <a href="https://www.python.org">Python</a>
using <a href="https://www.wxpython.org">wxPython</a> library.

<h2>SEE ALSO</h2>

<em>
  <a href="wxGUI.components.html">wxGUI components</a>,
  <a href="wxGUI.modules.html">wxGUI module dialogs</a>,
  <a href="wxGUI.toolboxes.html">wxGUI toolboxes (menu customization)</a>
</em>

<p>
See also wxGUI <a href="https://grasswiki.osgeo.org/wiki/WxGUI">wiki</a>
page
(especially various <a href="https://grasswiki.osgeo.org/wiki/WxGUI#Video_tutorials">video
tutorials</a>),
and <a href="https://grasswiki.osgeo.org/wiki/Quick_wxGUI_tutorial">Quick
wxGUI Tutorial</a>.

<h2>AUTHORS</h2>

Martin Landa, FBK-irst (2007-2008), Trento, Italy, and Czech Technical University in Prague, Czech Republic<br>
Michael Barton, Arizona State University, USA<br>
Daniel Calvelo Aros<br>
Jachym Cepicky<br>
Markus Metz, Germany<br>
Anna Kratochvilova, OSGeoREL, Czech Technical University in Prague, Czech Republic<br>
Vaclav Petras, OSGeoREL, Czech Technical University in Prague, Czech Republic<br>
Stepan Turek, OSGeoREL, Czech Technical University in Prague, Czech Republic<br>
Tereza Fiedlerova, OSGeoREL, Czech Technical University in Prague, Czech Republic<br>
Matej Krejci, OSGeoREL, Czech Technical University in Prague, Czech Republic<br><br>

Icons created by <a href="http://robert.szczepanek.pl">Robert Szczepanek</a>, Poland (<a href="https://github.com/Cracert/GIS-icons">Git repository</a>)