[GRASS-dev] WxPython prototype GRASS GUI. Version 2

Yann Chemin ychemin at gmail.com
Mon Aug 7 23:54:10 EDT 2006


Hi Michael,

Here is an updated gism.py with the vector module completed,
enjoy!

Yann

On 08/08/06, Yann Chemin <ychemin at gmail.com> wrote:
> Hi Michael,
> please incorporate the r.mapcalc fix from Glynn.
> :-)
> Yann
>
> ---------- Forwarded message ----------
> From: Yann Chemin <ychemin at gmail.com>
> Date: 08-Aug-2006 09:21
> Subject: Re: [GRASS-dev] WxPython prototype GRASS GUI. Version 2
> To: Glynn Clements <glynn at gclements.plus.com>
> Cc: Grass Developers List <grass-dev at grass.itc.it>
>
>
> Thanks Glynn !
> It works well.
>
> here are the modifications:
> in gism.py replace:
> ("Map calculator", "Map calculator", self.runMenuCmd, "r.mapcalc"),
> with this:
> ("Map calculator", "Map calculator", self.runMenuCmd, "mapcalc_gparser.sh"),
>
> and add the Glynn file attached (mapcalc_gparser.sh) to the py_gm directory.
>
> it opens a r.mapcalc dialog box where one can enter equations.
>
> :-)
> Yann
>
> On 08/08/06, Yann Chemin <ychemin at gmail.com> wrote:
> > nice!
> >
> > ok, i'll try.
> >
> > thanks,
> > Yann
> >
> > On 08/08/06, Glynn Clements <glynn at gclements.plus.com> wrote:
> > >
> > > Yann Chemin wrote:
> > >
> > > > Sorry to ask this new bie question, but you mean that the front-end
> > > > should be a file called from the GUI and this front-end will somehow
> > > > launch r.mapcalc, don't you?
> > >
> > > Yes. The front-end would be a g.parser script with one option,
> > > expression=, and it would invoke r.mapcalc on that expression.
> > >
> > > Unlike r.mapcalc, a script which uses g.parser will accept all
> > > G_parser() options, e.g. --interface-description.
> > >
> > > --
> > > Glynn Clements <glynn at gclements.plus.com>
> > >
> >
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gism.py
Type: text/x-python
Size: 40416 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20060808/ff6cca81/gism.py


More information about the grass-dev mailing list