wxGUI.html 29 KB

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