wxGUI.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <!-- meta page description: wxGUI -->
  2. <h2>DESCRIPTION</h2>
  3. <b>wxGUI</b> is a native <em>Graphical User Interface</em> (GUI) for
  4. GRASS GIS. Its main features include displaying geographical data
  5. in 2D and 3D, calling GRASS GIS modules, and interacting with data.
  6. <h3>Overview</h3>
  7. The GUI is composed of <em>three</em> main components:
  8. <ul>
  9. <li>The <b>Layer Manager</b> includes map layer management, integrated
  10. command-line prompt, and command output window tab.</li>
  11. <li>The <b>Map Display Window</b> integrates basic tools for
  12. zooming, panning, data querying, and map elements (north arrows,
  13. barscale, etc.). Each display window is associated with its own
  14. set of map layers in the layer manager. The user may start multiple map
  15. displays during a session. The map layers for each display are grouped
  16. under different tabs in the Layer Manager.</li>
  17. <li><a href="wxGUI.modules.html">Module dialogs</a> enable running GRASS modules
  18. that can be searched and launched via Tools tab.
  19. </li>
  20. </ul>
  21. <h3>Layer Manager</h3>
  22. The <em>Layer Manager</em> provides an interactive graphical interface for
  23. creating and managing GRASS displays. There is a toolbar to manage displayed
  24. map layers, a layer tree frame in which map layers for display are organized,
  25. a command output window tab, and interactive command line prompt. On Linux
  26. and Windows platforms, the layer manager also has a menu bar with a set of
  27. pull-down menus for all GRASS GIS functions (analysis, file I/O, GIS
  28. configuration and management); on a Mac, the GRASS functions menu is at the
  29. top of the screen.
  30. <center>
  31. <br>
  32. <img src="wxGUI_layer_manager.png" border="1" alt="screenshot"><br><br>
  33. Figure: Layer Manager screenshot on Ubuntu
  34. </center>
  35. <p>
  36. The top left button of the toolbar opens a new <em>Map Display
  37. Window</em>. Each map display has a unique set of layers to display
  38. and region settings. Other toolbar buttons add layers of different
  39. types for display in the selected map display window. There are
  40. additional buttons for saving or opening workspace file, and others.
  41. <p>
  42. Map layers are listed in the window frame below the toolbar. Layers can
  43. include raster and vector maps, vector labels, and commands (where any
  44. GRASS command can be written). Layers are displayed as arranged in the layer
  45. tree: the bottom layer is displayed first and the top layer is displayed
  46. last, as if the layers were a series of stacked overlays.
  47. <p>
  48. The check box to the left of each layer makes it active or inactive
  49. for display. Only active layers are displayed/redisplayed when the
  50. display button is pressed. Layers can be organized into groups; entire
  51. groups can be activated or deactivated for display. Layer tree
  52. composition can be saved to a workspace file and opened in subsequent
  53. sessions, restoring all layers and their display options.
  54. <p>
  55. A right mouse click on a layer or left clicking the button to the right of
  56. the layer opens a dropdown menu with options to remove or rename the layer
  57. (not the actual map), change its display properties (d.rast and d.vect
  58. options such as color, symbol, etc.), show its metadata (r.info, v.info) or
  59. attributes, if applicable.
  60. <p>
  61. A left mouse double click on a layer opens GUI for its display options
  62. These options are those for the d.* command for each layer type (d.rast,
  63. d.vect, or d.grid, for example).
  64. <h4>Layer Manager Toolbar</h4>
  65. <dl>
  66. <dt><img src="icons/monitor-create.png" alt="icon">&nbsp;
  67. <em>Start new map display</em></dt>
  68. <dd>Opens a new map display and creates empty layer tree tab in Layer Manager.</dd>
  69. <dt><img src="icons/create.png" alt="icon">&nbsp;
  70. <em>Create new workspace</em></dt>
  71. <dd>Removes all layers from the layer tree and creates a new, empty tree
  72. where new layers can be added.</dd>
  73. <dt><img src="icons/open.png" alt="icon">&nbsp;
  74. <em>Open existing workspace file</em></dt>
  75. <dd>Opens an previously saved workspace file, containing a set of display
  76. layers and their option settings.</dd>
  77. <dt><img src="icons/save.png" alt="icon">&nbsp;
  78. <em>Save current workspace to file</em></dt>
  79. <dd>Saves current set of layers and their options to a workspace
  80. file.</dd>
  81. <dt><img src="icons/layer-open.png" alt="icon">&nbsp;
  82. <em>Load map layers into workspace</em></dt>
  83. <dd>Loads selected raster or vector maps into current layer tree.</dd>
  84. <dt><img src="icons/layer-raster-add.png" alt="icon">&nbsp;
  85. <em>Add raster map layer</em></dt>
  86. <dd>Adds raster map to layer tree, see <em><a href="d.rast.html">d.rast</a></em>.
  87. </dd>
  88. <dt><img src="icons/layer-raster-more.png" alt="icon">&nbsp;
  89. <em>Add various raster map layers (RGB, HIS, shaded relief...)</em></dt>
  90. <dd>Opens a dropdown menu that allows user to select to:
  91. <dl>
  92. <dt><img src="icons/layer-raster3d-add.png" alt="icon">&nbsp;
  93. <em>Add 3D raster map layer</em></dt>
  94. <dd>Adds 3D raster map to layer tree.</dd>
  95. <dt><img src="icons/layer-rgb-add.png" alt="icon">&nbsp;
  96. <em>Add RGB raster layer</em></dt>
  97. <dd>Combines and displays three raster maps defined as red, green,
  98. and blue channels to create an RGB color map,
  99. see <em><a href="d.rgb.html">d.rgb</a></em>.</dd>
  100. <dt><img src="icons/layer-his-add.png" alt="icon">&nbsp;
  101. <em>Add HIS raster layer</em></dt>
  102. <dd>Combines and displays two or three raster maps defined as hue,
  103. intensity, and (optionally) saturation channels to create a color map,
  104. see <em><a href="d.his.html">d.his</a></em>.</dd>
  105. <dt><img src="icons/layer-shaded-relief-add.png" alt="icon">&nbsp;
  106. <em>Add shaded relief raster map layer </em></dt>
  107. <dd>Adds shaded relief raster map layer,
  108. see <em><a href="r.relief.html">r.relief</a></em> and
  109. <em><a href="d.shade.html">d.shade</a></em>.</dd>
  110. <dt><img src="icons/layer-aspect-arrow-add.png" alt="icon">&nbsp;
  111. <em>Add raster arrows layer</em></dt>
  112. <dd>Adds map of raster cells with directional arrows drawn. Arrow
  113. direction and length are determined by separate aspect/directional map
  114. and (optional) slope/intensity map,
  115. see <em><a href="d.rast.arrow.html">d.rast.arrow</a></em>.</dd>
  116. <dt><img src="icons/layer-cell-cats-add.png" alt="icon">&nbsp;
  117. <em>Add raster numbers layer</em></dt>
  118. <dd>Adds map of raster cells with numbers representing the cell values,
  119. see <em><a href="d.rast.num.html">d.rast.num</a></em>.</dd>
  120. </dl>
  121. </dd>
  122. <dt><img src="icons/layer-vector-add.png" alt="icon">&nbsp;
  123. <em>Add vector map layer</em></dt>
  124. <dd>Adds a vector map layer,
  125. see <em><a href="d.vect.html">d.vect</a></em>.</dd>
  126. <dt><img src="icons/layer-vector-more.png" alt="icon">&nbsp;
  127. <em>Add various vector map layers (thematic, chart...)</em></dt>
  128. <dd>Opens a dropdown menu that allows user to select to:
  129. <dl>
  130. <dt><img src="icons/layer-vector-thematic-add.png" alt="icon">&nbsp;
  131. <em>Add thematic area (choropleth) map layer
  132. (for all vector types)</em></dt>
  133. <dd>Adds layer for thematic display values from a numeric attribute
  134. column associated with a vector map. Options include: thematic display
  135. type (graduated colors or point sizes), methods for creating display
  136. intervals, SQL query of attribute column to limit vector objects to
  137. display, control of point icon types and sizes, control of thematic
  138. color schemes, creation of legend for thematic map, and saving the
  139. results of thematic mapping to a ps.map instructions file for later
  140. printing,
  141. see <em><a href="d.vect.thematic.html">d.vect.thematic</a></em>.</dd>
  142. <dt><img src="icons/layer-vector-chart-add.png" alt="icon">&nbsp;
  143. <em>Add thematic chart layer (for vector points)</em></dt>
  144. <dd>Adds layer in which pie or bar charts can be automatically created
  145. at vector point locations. Charts display values from selected columns
  146. in the associated attribute table. Options include: chart type, layer
  147. and attributes to chart, chart colors, and chart size (fixed or based
  148. on attribute column),
  149. see <em><a href="d.vect.chart.html">d.vect.chart</a></em>.</dd>
  150. </dl>
  151. </dd>
  152. <dt><img src="icons/layer-group-add.png" alt="icon">&nbsp;
  153. <em>Add group</em></dt>
  154. <dd>Adds an empty group. Layers can then be added to the group.</dd>
  155. <dt><img src="icons/layer-more.png" alt="icon">&nbsp;
  156. <em>Add grid or vector labels overlay</em></dt>
  157. <dd>Opens a dropdown menu that allows user to select to:
  158. <dl>
  159. <dt><img src="icons/layer-grid-add.png" alt="icon">&nbsp;
  160. <em>Add overlay grids and lines</em></dt>
  161. <dd>Adds layer to display regular grid (for all locations)
  162. see <em><a href="d.grid.html">d.grid</a></em></dd>
  163. <dt><img src="icons/layer-label-add.png" alt="icon">&nbsp;
  164. <em>Add labels layer for vector objects (from existing labels file)</em></dt>
  165. <dd>Add a layer of text from a labels file for vector objects
  166. created with the <em><a href="v.label.html">v.label</a></em> module.
  167. A labels file can also be created with a text editor,
  168. see <em><a href="d.labels.html">d.labels</a></em>.</dd>
  169. <dt><img src="icons/shortest-distance.png" alt="icon">&nbsp;
  170. <em>Add geodesic line layer</em></dt>
  171. <dd>Add layer to display geodesic line for latitude/longitude locations only,
  172. see <em><a href="d.geodesic.html">d.geodesic</a></em></dd>
  173. <dt><img src="icons/shortest-distance.png" alt="icon">&nbsp;
  174. <em>Add rhumbline layer</em>
  175. <dd>Add layer to display rhumblines (for latitude/longitude locations only),
  176. see <em><a href="d.rhumbline.html">d.rhumbline</a></em>.</dd>
  177. <dt><img src="icons/layer-command-add.png" alt="icon">&nbsp;
  178. <em>Add command layer</em></dt>
  179. <dd>Adds a layer in which a GRASS GIS command or command list can be entered.
  180. For a command list use the semi-colon (";") symbol as a separator.
  181. For example:
  182. <div class="code"><pre>
  183. d.rast soils;d.rast -o roads;d.vect streams col=blue
  184. </pre></div>
  185. Note that when an option of the command contains spaces, you need to
  186. "escape" them with the backslash ('\') character, for example:
  187. <div class="code"><pre>
  188. d.text text=Population\ density
  189. </pre></div>
  190. </dl>
  191. </dd>
  192. <dt><img src="icons/layer-remove.png" alt="icon">&nbsp;
  193. <em>Delete selected layer</em></dt>
  194. <dd>Removes selected map layer or map layer group from layer tree.</dd>
  195. <dt><img src="icons/edit.png" alt="icon">&nbsp;
  196. <em>Edit vector maps</em></dt>
  197. <dd>Opens <em><a href="wxGUI.vdigit.html">vector digitizer</a></em> to allow editing selected vector map.</dd>
  198. <dt><img src="icons/table.png" alt="icon">&nbsp;
  199. <em>Show attribute table</em></dt>
  200. <dd>Opens <em><a href="wxGUI.dbmgr.html">attribute table manager</a></em> for selected vector map.</dd>
  201. <dt><img src="icons/layer-open.png" alt="icon">&nbsp;
  202. <em>Import raster or vector data</em></dt>
  203. <dd>
  204. <dl>
  205. <dt><img src="icons/layer-import.png" alt="icon">&nbsp;
  206. <em>Import raster data</em></dt>
  207. <dd>Import selected raster data into GRASS
  208. using <em><a href="r.in.gdal.html">r.in.gdal</a></em> and load
  209. them into current layer tree.</dd>
  210. <dt><img src="icons/layer-import.png" alt="icon">&nbsp;
  211. <em>Link external raster data</em></dt>
  212. <dd>Link selected external raster data as GRASS raster maps
  213. (using <em><a href="r.external.html">r.external</a></em>) and
  214. load them into current layer tree.</dd>
  215. <dt><img src="icons/layer-export.png" alt="icon">&nbsp;
  216. <em>Set raster output format</em></dt>
  217. <dd>Define external format for newly created raster maps
  218. (see <em><a href="r.external.out.html">r.external.out</a></em>
  219. for details)</dd>
  220. <dt><img src="icons/layer-import.png" alt="icon">&nbsp;
  221. <em>Import vector data</em></dt>
  222. <dd>Import selected vector data into GRASS
  223. using <em><a href="v.in.ogr.html">v.in.ogr</a></em> and load
  224. them into current layer tree.</dd>
  225. <dt><img src="icons/layer-import.png" alt="icon">&nbsp;
  226. <em>Link external vector data</em></dt>
  227. <dd>Link selected external vector data as GRASS vector maps
  228. (using <em><a href="v.external.html">v.external</a></em>) and
  229. load them into current layer tree.</dd>
  230. <dt><img src="icons/layer-export.png" alt="icon">&nbsp;
  231. <em>Set vector output format</em></dt>
  232. <dd>Define external format for newly created vector maps
  233. (see <em><a href="v.external.out.html">v.external.out</a></em>
  234. for details)</dd>
  235. </dl>
  236. </dd>
  237. <dt><img src="icons/raster-calculator.png" alt="icon">&nbsp;
  238. <em>Raster Map Calculator</em></dt>
  239. <dd>Launches Raster Calculator GUI front-end
  240. for <em><a href="r.mapcalc.html">r.mapcalc</a></em>.</dd>
  241. <dt><img src="icons/modeler-main.png" alt="icon">&nbsp;
  242. <em>Graphical Modeler</em></dt>
  243. <dd>Launches <em><a href="wxGUI.gmodeler.html">graphical
  244. modeler</a></em> to create models and run them.</dd>
  245. <dt><img src="icons/georectify.png" alt="icon">&nbsp;
  246. <em>Georectifier Tool</em></dt>
  247. <dd>Launches <em><a href="wxGUI.gcp.html">GCP
  248. Manager</a></em> to create, edit, and manage Ground Control
  249. Points.</dd>
  250. <dt><img src="icons/print-compose.png" alt="icon">&nbsp;
  251. <em>Cartographic Composer</em></dt>
  252. <dd>Launches <em><a href="wxGUI.psmap.html">Cartographic
  253. Composer</a></em> to create interactively hardcopy map
  254. outputs.</dd>
  255. <dt><img src="icons/settings.png" alt="icon">&nbsp;
  256. <em>Show GUI settings</em></dt>
  257. <dd>Opens dialog to change GUI settings.</dd>
  258. <dt><img src="icons/help.png" alt="icon">&nbsp;
  259. <em>Show help</em></dt>
  260. <dd>Opens GRASS manual.</dd>
  261. </dl>
  262. <h3>Map Display Window</h3>
  263. The map display window includes toolbar that can be docked and undocked from
  264. the window, a map canvas where a map composition of one or more layers is
  265. displayed, and a statusbar with information about the geographic region of
  266. the maps displayed.
  267. <center>
  268. <br><img src="wxGUI_map_display.jpg" alt="Map Display Window"><br><br>
  269. Figure: Map Display screenshot on Ubuntu
  270. </center>
  271. <p>
  272. Each Map Display Window has a unique layer tree (in the layer manager)
  273. and geographic <em>region</em> setting. At the top of the window is a
  274. toolbar with buttons to manage the map in the display (render, erase, zoom
  275. and pan), for query and and analysis (distance measurement, profile,
  276. and histogram creation), to overlay map elements onto the display (scale,
  277. north arrow, legend, and custom text), and to export or print the display.
  278. <p>
  279. In the statusbar, the user can choose to display the geographic coordinates
  280. under the cursor, current geographical region extent, computational region
  281. (including graphical visualization in map display), map display geometry
  282. (number of rows, columns, resolution) and map scale. Checking the
  283. <em>render</em> button in the statusbar will cause the map display to update
  284. automatically any time a map is added to, removed from, or changed in its
  285. layer tree.
  286. <p>
  287. It is important to note that zooming in any display will
  288. have <em>no</em> effect on the 'computational region' setting (set
  289. with <em><a href="g.region.html">g.region</a></em>). Only by selecting
  290. the 'Set current region to match display' item in the zoom menu (in
  291. the map display toolbar) will the current display extents be copied to
  292. the computational region extents.
  293. <h4>Map Display Toolbar</h4>
  294. <dl>
  295. <dt><img src="icons/layer-redraw.png" alt="icon">&nbsp;
  296. <em>Re-render display</em></dt>
  297. <dd>Re-renders all active map layers regardless of whether they have changed
  298. or not, see <em><a href="d.redraw.html">d.redraw</a></em>.</dd>
  299. <dt><img src="icons/erase.png" alt="icon">&nbsp;
  300. <em>Erase display</em></dt>
  301. <dd>Erases the currently selected map display to a white background,
  302. see <em><a href="d.erase.html">d.erase</a></em>.</dd>
  303. <dt><img src="icons/pointer.png" alt="icon">&nbsp;
  304. <em>Pointer</em></dt>
  305. <dd>Select arrow cursor for map display.</dd>
  306. <dt><img src="icons/select.png" alt="icon">&nbsp;
  307. <em>Select features from vector map</em></dt>
  308. <dd>Interactively select features from given vector map. Selection
  309. can be stored to a new vector map,
  310. see <em><a href="v.what.html">v.what</a></em>
  311. and <em><a href="v.extract.html">v.extract</a></em>.</dd>
  312. <dt><img src="icons/info.png" alt="icon">&nbsp;
  313. <em>Query raster/vector maps</em></dt>
  314. <dd>Query selected raster, RGB raster (all three map channels will be
  315. queried), or vector map(s) using the mouse. Map(s) must be selected
  316. before query. Vector charts and thematic vector maps cannot be
  317. queried. The results of the query will be displayed in a dialog.
  318. See <em><a href="r.what.html">r.what</a>, <a href="v.what.html">v.what</a></em>.
  319. </dd>
  320. <dt><img src="icons/pan.png" alt="icon">&nbsp;
  321. <em>Pan</em></dt>
  322. <dd>Interactive selection of a new center of view in the active
  323. display monitor. Drag the pan cursor while pressing the left mouse
  324. button to pan. Panning changes the location of the region displayed
  325. but not the size of the area displayed or the resolution. Panning
  326. does <em>not</em> affect the computational region for other GIS
  327. processes, see <em><a href="g.region.html">g.region</a></em>.</dd>
  328. <dt><img src="icons/zoom-in.png" alt="icon">&nbsp;
  329. <em>Zoom in</em></dt>
  330. <dd>Interactive zooming with the mouse in the active display monitor.
  331. Drawing a box or just click with the mouse (left button) and zoom-in
  332. cursor causes the display to zoom in so that the area defined by the
  333. box fills the display. The map resolution is not changed. Clicking
  334. with the zoom-in cursor causes the display to zoom in by 30%, centered
  335. on the point where the mouse is clicked. Zooming resets the display
  336. region extents (both size and location of area displayed). It
  337. does <em>not</em> affect the computational region for other GIS
  338. processes, see <em><a href="g.region.html">g.region</a></em>.</dd>
  339. <dt><img src="icons/zoom-out.png" alt="icon">&nbsp;
  340. <em>Zoom out</em></dt>
  341. <dd>Interactive zooming with the mouse in the active display monitor.
  342. Drawing a box or just click with the mouse (left button) and zoom-out
  343. cursor causes the display to zoom in so that the area displayed
  344. shrinks to fill the area defined by the box. The map resolution is not
  345. changed. Clicking with the zoom-out cursor causes the display to zoom
  346. out by 30%, centered on the point where the mouse is clicked. Zooming
  347. resets the display region extents (both size and location of area
  348. displayed). It does <em>not</em> affect the computational region for
  349. other GIS processes,
  350. see <em><a href="g.region.html">g.region</a></em>.</dd>
  351. <dt><img src="icons/zoom-extent.png" alt="icon">&nbsp;
  352. <em>Zoom to selected map(s)</em></dt>
  353. <dd>Set zoom extent based on selected raster or vector maps. Zooming
  354. resets the display region extents (both size and location of area
  355. displayed). It does <em>not</em> affect the computational region
  356. for other GIS processes,
  357. see <em><a href="g.region.html">g.region</a></em>.</dd>
  358. <dt><img src="icons/zoom-region.png" alt="icon">&nbsp;
  359. <em>Zoom to computational region extent</em></dt>
  360. <dd>Set zoom extent based on the current computational region extent,
  361. see <em><a href="g.region.html">g.region</a></em>.</dd>
  362. <dt><img src="icons/zoom-last.png" alt="icon">&nbsp;
  363. <em>Return to previous zoom</em></dt>
  364. <dd>Returns to the previous zoom extent. Up to 10 levels of zoom back are
  365. maintained, see <em><a href="g.region.html">g.region</a></em>.</dd>
  366. <dt><img src="icons/zoom-more.png" alt="icon">&nbsp;
  367. <em>Various zoom options</em></dt>
  368. <dd>Opens a dropdown menu that allows user to:
  369. <ul>
  370. <li><em>Zoom to default region</em></li>
  371. <li><em>Zoom to saved region</em>. Zooms to previously
  372. saved named region.</li>
  373. <li><em>Set computational region extent from display.</em>
  374. The computational region (the mapset's <tt>WIND</tt> file)
  375. is set to match the current display extent (does not change
  376. the resolution), see <em><a href="g.region.html">g.region</a></em>.</li>
  377. <li><em>Set computational region extent interactively.</em>
  378. The computational region is set simply by drawing a box with
  379. the left mouse button on Map Display.</li>
  380. <li><em>Set computational region from named region</em>.
  381. This option doesn't affect display zoom.</li>
  382. <li><em>Save display geometry to named region</em></li>
  383. <li><em>Save computational region to named region</em></li>
  384. </ul>
  385. </dd>
  386. <dt><img src="icons/layer-raster-analyze.png" alt="icon">&nbsp;
  387. <em>Analyze menu</em></dt>
  388. <dd>Opens a dropdown menu with:
  389. <dl>
  390. <dt><img src="icons/measure-length.png" alt="icon">&nbsp;
  391. <em>Measure distance</em></dt>
  392. <dd>Interactive measurement of lengths defined with the mouse. The
  393. length of each segment and the cumulative length of all segments
  394. measuered is displayed in the command output window frame. Lengths are
  395. measured in the current measurement unit. Double-click to switch off measuring.</dd>
  396. <dt><img src="icons/area-measure.png" alt="icon">&nbsp;
  397. <em>Measure area</em></dt>
  398. <dd>Interactive measurement of area defined with the mouse. Area is
  399. measured in the current measurement unit. Double-click to switch off measuring.</dd>
  400. <dt><img src="icons/layer-raster-profile.png" alt="icon">&nbsp;
  401. <em>Profile surface map</em></dt>
  402. <dd>Interactively create profile of a raster map. Profile transect is
  403. drawn with the mouse in map display. The profile may be of the
  404. displayed map or a different map. Up to three maps can be profiled
  405. simultaneously.</dd>
  406. <dt><img src="icons/layer-raster-profile.png" alt="icon">&nbsp;
  407. <em>Create bivariate scatterplot of raster maps</em></dt>
  408. <dd>Interactively create bivariate scatterplot of raster
  409. maps.</dd>
  410. <dt><img src="icons/layer-raster-histogram.png" alt="icon">&nbsp;
  411. <em>Create histogram of raster map</em></dt>
  412. <dd>Displays histogram of selected raster map or image in new
  413. window.</dd>
  414. <dt><img src="icons/layer-raster-histogram.png" alt="icon">&nbsp;
  415. <em>Create histogram with d.histogram</em></dt>
  416. <dd>Displays histogram of selected raster map or image in new
  417. window,
  418. see <em><a href="d.histogram.html">d.histogram</a></em>.</dd>
  419. <dt><img src="icons/vector-tools.png" alt="icon">&nbsp;
  420. <em>Vector network analysis tool</em></dt>
  421. <dd>See tool's <a href="wxGUI.vnet.html">manual page</a>.</dd>
  422. </dl>
  423. </dd>
  424. <dt><img src="icons/overlay-add.png" alt="icon">&nbsp;
  425. <em>Add overlay</em></dt>
  426. <dd>opens a dropdown menu that allows user to
  427. <dl>
  428. <dt><img src="icons/legend-add.png" alt="icon">&nbsp;
  429. <em>Add raster map legend</em></dt>
  430. <dd>Adds layer to display with legend of selected raster map,
  431. see <em><a href="d.legend.html">d.legend</a></em>.</dd>
  432. <dt><img src="icons/scalebar-add.png" alt="icon">&nbsp;
  433. <em>Add scalebar</em></dt>
  434. <dd>Adds layer to display a scalebar. Options
  435. include scalebar placement (using screen coordinates or a mouse),
  436. scalebar format, and scalebar colors,
  437. see <em><a href="d.barscale.html">d.barscale</a></em>.</dd>
  438. <dt><img src="icons/north-arrow-add.png" alt="icon">&nbsp;
  439. <em>Add north arrow</em></dt>
  440. <dd>Adds layer to display a north arrow. Options
  441. include north arrow placement (using screen coordinates or a mouse),
  442. north arrow style and color,
  443. see <em><a href="d.northarrow.html">d.northarrow</a></em>.</dd>
  444. <dt><img src="icons/text-add.png" alt="icon">&nbsp;
  445. <em>Add text layer</em></dt>
  446. <dd>Adds layer to display a line of text using default GRASS font
  447. (selected with <em><a href="d.font.html">d.font</a></em>). Options
  448. include: text placement (screen coordinates); and text size, bolding,
  449. and color, see <em><a href="d.text.html">d.text</a></em>.</dd>
  450. </dl>
  451. </dd>
  452. <dt><img src="icons/map-export.png" alt="icon">&nbsp;
  453. <em>Save display to graphic file</em></dt>
  454. <dd>Save the visible image in map display to different raster graphic formats.</dd>
  455. <dt><img src="icons/print.png" alt="icon">&nbsp;
  456. <em>Print map</em></dt>
  457. <dd>Prints map on system native printer or PostScript device;
  458. saves visible map display (including PostScript text and labels) to PDF
  459. or EPS file.</dd>
  460. <dt><em>Map display mode</em></dt>
  461. <dd>Opens a dropdown menu for selecting different display mode
  462. <dl>
  463. <dt><em>2D view</em></dt>
  464. <dd>Normal GIS display. All active layers are composited and displayed
  465. in 2D mode.</dd>
  466. <dt><em>3D view</em></dt>
  467. <dd>Experimental replacement for NVIZ. Displays all active layers in
  468. 3D perspective using OpenGL. A new control panel opens to manage the
  469. 3D view. 3D view can be zoomed, panned, rotated, and tilted. The
  470. vertical exaggeration of rasters and 3D vectors can be set. Various
  471. color and lighten settings are possible. Not yet functional for
  472. Windows platforms</dd>
  473. <dt><em>Vector digitizer</em></dt>
  474. <dd>Puts display into vector digitizing mode and opens a new digitizing
  475. toolbar. The user can digitize a new vector map or edit an existing
  476. map.</dd>
  477. <dt><em>Raster digitizer</em></dt>
  478. <dd>Puts display into raster digitizing mode and opens a new digitizing
  479. toolbar. The user can digitize a new raster map or edit an existing
  480. map.</dd>
  481. </dl>
  482. </dd>
  483. </dl>
  484. <h3>Keyboard short-cuts</h3>
  485. <h4>Layer Manager</h4>
  486. <dl>
  487. <dt>Ctrl+Tab</dt>
  488. <dd>Switch 'Layers' and 'Console' tab</dd>
  489. <dt>Ctrl+Q</dt>
  490. <dd>Quit</dd>
  491. <dt>Ctrl+R</dt>
  492. <dd>Render map in all map displays</dd>
  493. </dl>
  494. <b>Workspace</b>
  495. <dl>
  496. <dt>Ctrl+N</dt>
  497. <dd>Create new workspace</dd>
  498. <dt>Ctrl+O</dt>
  499. <dd>Load workspace from file</dd>
  500. <dt>Ctrl+S</dt>
  501. <dd>Close workspace</dd>
  502. </dl>
  503. <b>Layers</b>
  504. <dl>
  505. <dt>Ctrl+Shift+L</dt>
  506. <dd>Add multiple raster or vector map layers to current map display</dd>
  507. <dt>Ctrl+Shift+R</dt>
  508. <dd>Add raster map layer to current map display</dd>
  509. <dt>Ctrl+Shift+V</dt>
  510. <dd>Add vector map layer to current map display</dd>
  511. <dt>Ctrl+W</dt>
  512. <dd>Close current map display</dd>
  513. </dl>
  514. <b>Console</b>
  515. <dl>
  516. <dt>Tab</dt>
  517. <dd>Show command tooltips</dd>
  518. <dt>Esc</dt>
  519. <dd>Hide command tooltips</dd>
  520. <dt>Ctrl+Space</dt>
  521. <dd>Show auto-complete suggestions</dd>
  522. <dt>Up/Down</dt>
  523. <dd>List command history</dd>
  524. <dt>Enter</dt>
  525. <dd>Run command</dd>
  526. <dt>Ctrl++</dt>
  527. <dd>Increase font size (numerical keyboard plus key)</dd>
  528. <dt>Ctrl+-</dt>
  529. <dd>Decrease font size (numerical keyboard minus key)</dd>
  530. <dt>Ctrl+mouse wheel</dt>
  531. <dd>Increase or decrease font size</dd>
  532. </dl>
  533. <h4>Map Display</h4>
  534. <dl>
  535. <dt>F11</dt>
  536. <dd>Fullscreen mode (toggle on/off)</dd>
  537. <dt>Ctrl+W</dt>
  538. <dd>Close map display</dd>
  539. <dt>Ctrl+R</dt>
  540. <dd>Render map (re-renders map)</dd>
  541. <dt>F5</dt>
  542. <dd>Render map (re-renders map)</dd>
  543. </dl>
  544. <h3>Starting the GUI from command line</h3>
  545. By default, the GUI is always started, but if only the command line (shell) is
  546. running, the GUI can be also started manually using:
  547. <div class="code"><pre>
  548. g.gui
  549. </pre></div>
  550. If the wxGUI is not the default user interface, it can defined as default by
  551. typing at the GRASS GIS command line:
  552. <div class="code"><pre>
  553. g.gui -d wxpython
  554. </pre></div>
  555. Alternatively, it may be defined in the main configuration file
  556. (<tt>$HOME/.grass8/rc</tt> on GNU/Linux and macOS, <tt>%APPDATA%\Roaming\GRASS8\rc</tt>
  557. on MS Windows) using the <tt>GUI</tt> variable set to <tt>wxpython</tt>
  558. (<tt>GUI: wxpython</tt>) or by the environmental variable <tt>GRASS_GUI</tt>.
  559. To start with a previously saved workspace file:
  560. <div class="code"><pre>
  561. g.gui workspace=file.gxw
  562. </pre></div>
  563. <p>
  564. The user can also start GRASS from the shell command line with the wxGUI
  565. specifying the <tt>--gui</tt> switch:
  566. <div class="code"><pre>
  567. grass --gui
  568. </pre></div>
  569. <p>
  570. The GUI can be quit by selecting the 'File &gt; Quit GRASS GIS' menu item
  571. which gives options to close only GUI or to quit GRASS GIS entirely
  572. if GRASS GIS is running with a command line (a shell in a terminal application).
  573. Exiting the shell (typically by the <tt>exit</tt> command) ends the GRASS session
  574. including any running GUIs.
  575. <h3>Background information</h3>
  576. <b>wxGUI</b> is a native <em>Graphical User Interface</em> (GUI) for
  577. GRASS GIS written in <a href="http://www.python.org">Python</a>
  578. using <a href="http://www.wxpython.org">wxPython</a> library.
  579. <h2>SEE ALSO</h2>
  580. <em>
  581. <a href="wxGUI.components.html">wxGUI components</a><br>
  582. <a href="wxGUI.modules.html">wxGUI module dialogs</a>
  583. <a href="wxGUI.toolboxes.html">wxGUI toolboxes (menu customization)</a>
  584. </em>
  585. <p>
  586. See also wxGUI <a href="https://grasswiki.osgeo.org/wiki/WxGUI">wiki</a>
  587. page
  588. (especially various <a href="https://grasswiki.osgeo.org/wiki/WxGUI#Video_tutorials">video
  589. tutorials</a>),
  590. and <a href="https://grasswiki.osgeo.org/wiki/Quick_wxGUI_tutorial">Quick
  591. wxGUI Tutorial</a>.
  592. <h2>AUTHORS</h2>
  593. Martin Landa, FBK-irst (2007-2008), Trento, Italy, and Czech Technical University in Prague, Czech Republic<br>
  594. Michael Barton, Arizona State University, USA<br>
  595. Daniel Calvelo Aros<br>
  596. Jachym Cepicky<br>
  597. Markus Metz, Germany<br>
  598. Anna Kratochvilova, OSGeoREL, Czech Technical University in Prague, Czech Republic<br>
  599. Vaclav Petras, OSGeoREL, Czech Technical University in Prague, Czech Republic<br>
  600. Stepan Turek, OSGeoREL, Czech Technical University in Prague, Czech Republic<br>
  601. Tereza Fiedlerova, OSGeoREL, Czech Technical University in Prague, Czech Republic<br>
  602. Matej Krejci, OSGeoREL, Czech Technical University in Prague, Czech Republic<br><br>
  603. Icons created by <a href="http://robert.szczepanek.pl">Robert Szczepanek</a>, Poland (<a href="https://github.com/Cracert/GIS-icons">Git repository</a>)