[GRASS5] New gui.tcl generic user interface

Glynn Clements glynn at gclements.plus.com
Sat Mar 18 09:24:03 EST 2006


Michael Barton wrote:

> >>>> 1) using r.profile and TclTk charts to create a new terrain profile utility
> >>>> that would replace d.profile, produce postscript text and graphics, and not
> >>>> need x11.
> >>> 
> >>> That would be nice, but v.digit is probably the most urgent candidate
> >>> for replacement, followed by i.points.
> >> 
> >> I agree that these are more important. But they take rewriting the relevant
> >> C code, so someone other than me will need to work on this.
> > 
> > I would have thought that you could get a usable v.digit replacement
> > using only Tcl/Tk, v.in.ascii and a few other GRASS commands.
> 
> You need to be able to display a vector in such a way that it can be
> manipulated in a canvas (see your issue below), then add, delete, or change
> the coordinates of vector nodes, selecting them interactively with a mouse.
> You also need to be able to add/delete centroids of areas, and join them to
> tables. I've thought about this a little and don't think that there any
> GRASS tools available to do this...yet.

I'm thinking in terms of v.out.ascii -> Tcl/Tk -> v.in.ascii. I.e. the
entire process would be done in Tcl/Tk. The main requirement is the
ability to get complete vector maps into and out of GRASS.

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




More information about the grass-dev mailing list