[GRASS5] New gui.tcl generic user interface
Michael Barton
michael.barton at asu.edu
Sat Mar 18 14:29:34 EST 2006
I guess I was thinking of a C module that accepted as input existing xy, new
xy, vector file, cat, layer, and ??, and had some switches (add vertex,
delete vertex, move vertex, set centroid, etc), that could directly work
with a GRASS vector file. This then would be manipulated by TclTk or other
GUI.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
> From: Glynn Clements <glynn at gclements.plus.com>
> Date: Sat, 18 Mar 2006 14:24:03 +0000
> To: Michael Barton <michael.barton at asu.edu>
> Cc: <grass5 at grass.itc.it>
> Subject: Re: [GRASS5] New gui.tcl generic user interface
>
>
> 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