wxGUI.html 28 KB

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