README 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. GRASS GIS - wxPython Graphical User Interface (wxGUI)
  2. =====================================================
  3. $Date$
  4. 1 - REQUIREMENTS
  5. GRASS GIS >= 6.4
  6. Python >= 2.4 (Python 3 not supported)
  7. Python ElementTree (only for Python 2.4)
  8. wxPython >= 2.8.1.1
  9. NumPy >= 1.0.4
  10. 2 - STARTUP WITH GRASS INITIALIZATION
  11. If you want to launch wxPython GUI automatically, start GRASS with
  12. `-gui` parameter
  13. $ grass70 -gui
  14. 3 - STARTUP FROM GRASS TERMINAL
  15. Simply run
  16. $ g.gui wxpython
  17. from the GRASS terminal.
  18. You can also specify workspace file to load on startup.
  19. $ g.gui gui=wxpython workspace=myworkspace.gxw
  20. 4 - DEBUGGING
  21. To enable GUI debug messages on given level set WX_DEBUG environment
  22. variable, e.g.
  23. $ g.gisenv set="WX_DEBUG=3"
  24. 5 - CLI BASED DISPLAY USAGE
  25. Use command d.mon (shell script in gui/scripts directory) to start map
  26. display:
  27. GRASS> d.mon wx[0-6]
  28. After a while, new window should appear. If this is your case, add some
  29. raster layer to the map display:
  30. GRASS> d.rast aspect
  31. And try the vector layer too
  32. GRASS> d.vect roads
  33. You should be able to zoom && pan through the map, once the layers are
  34. displayed. You should be also able to store the display content as well as
  35. clear the display and start from scratch.
  36. 6 TRANSLATION HANDLING
  37. Notes:
  38. - Help part of menu entries is coming from the module descriptions
  39. - The menu is maintained manually in xml/menudata.xml
  40. Update of module description strings in xml/menudata.xml:
  41. - in a GRASS session, run tools/update_menudata.py
  42. From this (updated) xml/menudata.xml, the gettext strings are generated
  43. via Makefile and stored into the file "menustrings.py".
  44. When generating the po files in locale/po/ but locale/Makefile, all
  45. .py files are parsed and the strings are stored in locale/po/grasswxpy_XX.po