[GRASS-dev] wxgrass prototype

Michael Barton michael.barton at asu.edu
Tue Mar 20 19:30:41 EDT 2007


I just committed the last pieces to having a pretty much fully functional
(most of the time) GUI prototype in wxPython. This has been a real team
effort; a special recognition is owed to Jáchym Cepicky for getting this off
the ground and keeping it going‹along with a lot of coding. But there have
also been contributions from Martin Landa, Daniel Calvelo, Markus Neteler,
and Glynn Clements.

What we have now is a GIS Manager with the option of adding raster, vector,
and command layers (and setting transparency for map layers); an integrated
command input and output window; menus for all (or most) GRASS commands; and
a parser that will create a simple GUI dialog for any command selected. The
GIS Manager can launch multiple map display windows, which have a simple set
of controls on a tear-off toolbar. There is a nice startup screen and the
beginnings of a location creation wizard.

To add a map to the layer tree, click on the appropriate button (or type
d.rast or d.vect from the command line). Then double click on the layer to
open up an options dialog. When you have the settings, press ³run² or hit
enter in the options dialog (you¹ll see the name of the layer change to
match the map you¹ve selected. Set the desired transparency. Press display
on the associated map display window.

The prototype is in the new GRASS subversion repository
<https://grasssvn.itc.it/grasssvn/grassaddons/trunk/grassaddons/gui/#_trunk_
grassaddons_gui_>

Most of the files go into $GISBASE/etc/wx. The script ³wxgrass² goes into
$GISBASE/scripts. If you want to automatically start up in wxgrass, you can
use the init.sh script provided (you may need to edit it to match your
exiting version if you have trouble with the LD_LIBRARY setting).

To use this, you¹ll need to have Python 2.4 or greater and wxPython 2.8.1 or
greater. 

We still have a lot to do on this, but the initial work is done to a point
that you can try it out.

Enjoy
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20070320/cdf9b2ee/attachment.html


More information about the grass-dev mailing list