[GRASSGUI] wxgrass gui status: was [GRASS-dev] Vect_snap_lines (list of lines)

Glynn Clements glynn at gclements.plus.com
Sat May 12 07:29:17 EDT 2007


Michael Barton wrote:

> >> I'm now working on a profiling module and will subsequently go through the
> >> tedious work of adding the rest of the commands to the menu--unless someone
> >> finds a faster way to do this or takes pity and does it for me ;-).
> > 
> > Is there some reason why you can't just dump descmenu (from
> > gmmenu.tcl) in a suitable syntax?
> 
> I wish. Probably an awk and regedit wizard could craft a script to do this
> automatically.

Tcl would be far more appropriate, as the menu is already in Tcl
syntax.

> But sadly, I would be able to cut and past the commands in
> less time than it would take me to figure out such a script.

Can you give an example of the required Python syntax?

> >> 2. wxPython replacement for the nice r.edit module that Glynn did.
> > 
> > Presumably you mean d.rast.edit?
> 
> Yes
> 
> > 
> >> This
> >> could be done pretty easily if we had an r.cell.edit module. This
> >> hypothetical module would accept coordinate(s), cat value(s), and label
> >> value(s), and change the cell or cells at the coordinates. e.g.
> > 
> > d.rast.edit.tcl uses r.in.ascii + r.patch. I'm not sure what advantage
> > a separate module would have over that.
> 
> I thought d.rast.edit was a combined C/TclTk application like v.digit.

No.

> If it is just pure TclTk with pure GRASS commands,

It is.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-gui mailing list