[GRASSGUI] GEM wizard in wxPython

Michael Barton michael.barton at asu.edu
Mon May 21 11:18:26 EDT 2007


Jachym,

I did a bunch of update work on the wizard awhile back, so it is almost
done. Still waiting on some kind of update to g.proj or g.setproj to make
the manual location creation work. I guess we could just go ahead with the
epsg, georeferenced file, and related parts and ask again for an update to
make the other part work.

Michael


On 5/21/07 4:27 AM, "Jachym Cepicky" <jachym.cepicky at gmail.com> wrote:

> Hi,
> 
> 
> Yann píše v Po 21. 05. 2007 v 18:12 +0700:
>> Hi Jachym,
>> 
>> Yes, the wget+parsing is tempting, i just need to figure out how to do all
>> that...
>> 
>> could you tell me where i can find your New Location Wizard, maybe I'll get a
>> hint to do that for GEM.
> 
> well, 
> 
> svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons addons
> 
> cd addons/gui/
> 
> $EDITOR location_wizard.py
> 
> but it is a mess -  I need to clean this. try to take it really only as
> an example.
> 
> Jachym
> 
>> 
>> Thanks
>> Yann
>> 
>> On Monday 21 May 2007 17:44, Jachym Cepicky wrote:
>>> Hi,
>>> 
>>> basically, there are two possibilities: Use standard python packages or
>>> using CLI commands. In current wxGRASS gui, commands are used, to avoid
>>> new dependences. So, I would vote for some "wget+parsing" sollution.
>>> 
>>> For example, how to create wizard using wxpython, see wizard example in
>>> wxpython demo
>>> (http://prdownloads.sourceforge.net/wxpython/wxPython-demo-2.8.4.0.tar.bz2)
>>> 
>>> I put together nearly-working new location wizard, if you will be able
>>> to follow the code.
>>> 
>>> Jachym
>>> 
>>> Yann píše v Po 21. 05. 2007 v 17:26 +0700:
>>>> Hi all,
>>>> 
>>>> Anybody could "mentor" a wxPython newbie into getting a GEM Wizard up and
>>>> running?
>>>> 
>>>> :)
>>>> 
>>>> Aim:
>>>> 1-List some predefined Extensions
>>>> 2-Select any, then download it
>>>> 3-Run Gem on the .tgz file downloaded (supposed you already are in root)
>>>> 
>>>> Thanks
>>>> Yann
>> 

__________________________________________
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






More information about the grass-gui mailing list