Anna Petrášová eff51a2e2b wxGUI: sync message formatting with releasebranch 9 年之前
..
animation 24d465270f wxGUI/animation: resize images when window size changes without rerendering them 9 年之前
core eff51a2e2b wxGUI: sync message formatting with releasebranch 9 年之前
dbmgr 6fc3403ab8 wxGUI/vdigit: fix attribute dialog blocking window on MacOSX with wxpython 3 9 年之前
docs 132a09a72a wxGUI: move advanced info to the bottom in the main docs 9 年之前
gcp 9800617b1a gcpmanager: gisrc must be string not unicode - causes problems on Windows 9 年之前
gmodeler 29bc5aff40 wxGUI: import only after grass.script.parser() call g.gui.* and PEP8 clean up 10 年之前
gui_core 5f8224a405 wxGUI: catch and handle error from typo in console 9 年之前
iclass 3faa081ac0 wxGUI/iclass: fix basic functionality for Windows 9 年之前
icons 4d3d44467e wxgui: add support for sphinx documentation 11 年之前
iscatt 3faa081ac0 wxGUI/iclass: fix basic functionality for Windows 9 年之前
lmgr 837c823d89 fix https://trac.osgeo.org/grass/ticket/2713 (GUI hangs when adding vector map from cli) 9 年之前
location_wizard f1e1543798 wxGUI/location wizard: reorder options (EPSG by default) 10 年之前
mapdisp c5a36812aa wxGUI: remove 'display map' tool from mapdisplay toolbar (most of users don't know what is difference between display and re-render map) 9 年之前
mapswipe 29bc5aff40 wxGUI: import only after grass.script.parser() call g.gui.* and PEP8 clean up 10 年之前
mapwin 154742de48 wxGUI: menu label cosmetics 9 年之前
modules 318c4986a9 wxGUI: r.import does not have k flag 9 年之前
nviz d34b30c160 wxGUI/nviz: revert https://trac.osgeo.org/grass/changeset/64473 because it causes problems on Mac 10 年之前
psmap 634d78bc1c wxGUI/composer: catch error due to Ghostscript missing or not on path 10 年之前
rdigit a426a1387f wxGUI/rdigit: fix undo and saving when quitting 10 年之前
rlisetup 2c698c5407 docs: html changes for unified picture names (for https://trac.osgeo.org/grass/changeset/65996 and https://trac.osgeo.org/grass/changeset/65997) 9 年之前
timeline 29bc5aff40 wxGUI: import only after grass.script.parser() call g.gui.* and PEP8 clean up 10 年之前
tools 4d3d44467e wxgui: add support for sphinx documentation 11 年之前
tplot 834bd8ed30 g.gui.tplot: fixed small bug querying data 9 年之前
vdigit fbdf347b0a g.gui.vdigit manual: update 'Copy features from (background) vector map' description (contributed by Aldo Clerici) 9 年之前
vnet 722bfd418a wx.vnet: completion of https://trac.osgeo.org/grass/changeset/64373 10 年之前
web_services a8ef11c6cd various typo fixes, found by the Debian lintian QA tool 9 年之前
wxplot 62a41e7e21 wxGUI/plot: fix truncating values when exporting to csv 9 年之前
xml 50bafbd5da wxGUI: menu database consolidation (db.in/out.ogr) 10 年之前
Makefile 6bb95f044e wxGUI/toolboxes: try to read XMLs after writing them 10 年之前
README 4442360f3a updated requirements for PIL 11 年之前
gis_set.py 31fd4b20a4 init: change gis_init return code 9 年之前
gis_set_error.py 4d3d44467e wxgui: add support for sphinx documentation 11 年之前
states.txt c730ae7e6f wxGUI major code reorganization 13 年之前
wxgui.py afe7acd451 wxgui.py: import GMFrame from GMApp 10 年之前

README

GRASS GIS - wxPython Graphical User Interface (wxGUI)
=====================================================

$Date$

1 - REQUIREMENTS

GRASS GIS >= 6.4
Python >= 2.4 (Python 3 not supported)
Python ElementTree (only for Python 2.4)
wxPython >= 2.8.10.1
NumPy >= 1.0.4
PIL >= 1.1.7


2 - STARTUP WITH GRASS INITIALIZATION

If you want to launch wxPython GUI automatically, start GRASS with
`-gui` parameter

$ grass70 -gui


3 - STARTUP FROM GRASS TERMINAL

Simply run

$ g.gui wxpython

from the GRASS terminal.

You can also specify workspace file to load on startup.

$ g.gui gui=wxpython workspace=myworkspace.gxw


4 - DEBUGGING

To enable GUI debug messages on given level set WX_DEBUG environment
variable, e.g.

$ g.gisenv set="WX_DEBUG=3"


5 - CLI BASED DISPLAY USAGE

Use command d.mon (shell script in gui/scripts directory) to start map
display:

GRASS> d.mon wx[0-6]

After a while, new window should appear. If this is your case, add some
raster layer to the map display:

GRASS> d.rast aspect

And try the vector layer too

GRASS> d.vect roads

You should be able to zoom && pan through the map, once the layers are
displayed. You should be also able to store the display content as well as
clear the display and start from scratch.


6 TRANSLATION HANDLING

Notes:
- Help part of menu entries is coming from the module descriptions
- The menu is maintained manually in xml/menudata.xml

Update of module description strings in xml/menudata.xml:
- in a GRASS session, run tools/update_menudata.py

From this (updated) xml/menudata.xml, the gettext strings are generated
via Makefile and stored into the file "menustrings.py".

When generating the po files in locale/po/ but locale/Makefile, all
.py files are parsed and the strings are stored in locale/po/grasswxpy_XX.po