wxGUI.html 24 KB

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