Martin Landa c1e2ba5455 update py scripts for r.what (east_north->coordinates) 13 éve
..
core bb5603fb0d wxNviz: other z-exag changes 13 éve
dbmgr 750d5fcbf4 wxGUI(dbmbr): corrent column width (manage tables) 13 éve
docs b1d3a20395 wxGUI: note user-defined models available from SVN 13 éve
gcp c805a502b5 wxGUI GCP manager: add OnIdle after resizing 13 éve
gmodeler 2ebc3c3038 wxGUI/modeler: minor fixes (modification indicator) in python editor 13 éve
gui_core 5baa0cf192 wxGUI: fix Gtk warnings when switching to 3D view (since https://trac.osgeo.org/grass/changeset/50013) 13 éve
iclass 16b4c7ced7 wxGUI/wxIClass: fix exported vector map 13 éve
icons 936e92b7d9 wxGUI: separate icons into several GUI modules 13 éve
lmgr dd1f843502 wxGUI/lmgr: add icon 'import from wms server' to the toolbar 13 éve
location_wizard c62c28ffbb further support for swapping ellipse.table list with ellipse.table.solar.system list (https://trac.osgeo.org/grass/ticket/1513), not fully functional yet (assistance is welcome :) 13 éve
mapdisp c1e2ba5455 update py scripts for r.what (east_north->coordinates) 13 éve
modules 703f93377d wxGUI: new package for OGC services 13 éve
nviz cf3567bd02 wxNviz: removing of scale bars improved 13 éve
ogc_services 703f93377d wxGUI: new package for OGC services 13 éve
psmap 4da1248083 wxGUI/wxpsmap: use '/usr/local/src/psmap_trunk/dist.i686-pc-linux-gnu' shortcut in eps file path if possible 13 éve
scripts b54f3e9bc2 move proj-related files from etc/ to etc/proj 13 éve
tools b12851726b wxGUI: reorganize command lists 13 éve
vdigit 66bc57495a wxGUI/vdigit: GetFeatureType() return ftype in lowercase 13 éve
wxplot c1e2ba5455 update py scripts for r.what (east_north->coordinates) 13 éve
xml 2ed9c3f11d wxGUI: update menudata 13 éve
Makefile 703f93377d wxGUI: new package for OGC services 13 éve
README 62115ae60c minor update of wxGUI/README 14 éve
create__init__.py c730ae7e6f wxGUI major code reorganization 13 éve
gis_set.py 7c5f3b08bb wxGUI: various mirror fixes 13 éve
gis_set_error.py 2b99214f11 wxGUI: update doxygen docs 13 éve
states.txt c730ae7e6f wxGUI major code reorganization 13 éve
wxgui.py b90e4cfcf0 Use normal wx.SplashScreen instead of AdvancedSplash on the Mac to avoid errors whenever GUI is started 13 éve
wxpythonlib.dox c5995601cb wxGUI modeler: implement python editor 13 éve

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.1.1
NumPy >= 1.0.4

Get wxPython 2.8.x packages from:
* Source: http://www.wxpython.org/download.php
* Debian GNU/Linux: http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
* Fedora: http://www.wxpython.org/download.php
* Mandriva: included in main distribution
* OpenSuSe: http://download.opensuse.org/repositories/Application:/Geo/
* Ubuntu: deb http://wxpython.wxcommunity.com/apt/ubuntu/dapper /
deb http://wxpython.wxcommunity.com/apt/ubuntu/feisty /

* MacOSX: http://www.wxpython.org/download.php
* MS-Windows: http://www.wxpython.org/download.php

Get Python from:
* Python.org for Source, MS-Windows, OS X: http://www.python.org/download/
* ActiveStates for AIX, HP-UX, Linux (x86), Linux 64-bit (x86_64 AMD64), Mac OS X,
Solaris (SPARC), Windows:
http://www.activestate.com/store/download.aspx?prdGUID=b08b04e0-6872-4d9d-a722-7a0c2dea2758

E.g. On Debian GNU/Linux install these packages:
apt-get install libwxbase2.8-0 libwxbase2.8-dbg libwxbase2.8-dev \
libwxgtk2.8-0 libwxgtk2.8-dbg libwxgtk2.8-dev \
python-wxgtk2.8 wx2.8-doc wx2.8-examples \
wx2.8-headers wx2.8-i18n python-numpy

On Mandriva 2009 GNU/Linux, install these packages:
urpmi lib64wxgtk2.8 lib64wxgtk2.8-devel lib64wxgtkgl2.8 wxgtk2.8 \
lib64wxPythonGTK2.8 lib64wxPythonGTK2.8-devel wxPythonGTK wxPythonGTK-wxversion


MS-WINDOWS ONLY REQUIREMENTS

Python Extensions for MS-Windows >= Build 210

Get Python Extensions for MS-Windows from:
http://sourceforge.net/project/platformdownload.php?group_id=78018
Get NumPy from:
http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103


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 Display scripts

Note: This section is out-dated!

This is going to be replacement for command line tools like d.rast and
d.vect.

Now add directory "scripts" in gui directory to your $PATH. These
little programs should later go to GRASS Scripts directory or became
Python scripts or C programs. Now they are only small BASH wrappers
which can be easily and fast customized.

$~ export PATH=scripts/:$PATH

Start GRASS:

$~ grass70 ~/grassdata/spearfish60/user1

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

GRASS> p.mon anything

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

GRASS> p.rast aspect

What about a bit transparency?

GRASS> p.rast elevation.dem opacity=0.5

And try the vector layer too

GRASS> p.vect roads

NOTE: only map name is currently supported. No other option will influence
the map layout

Alternatively you can use more universal p.cmd:

GRASS> p.cmd "d.rast map=elevation.dem@PERMANENT catlist=1300-1400 -i"

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.