wxGUI.html 26 KB

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