[GRASS-dev] can wxPython GUI handle order of options for v.type and alike?

Hamish hamish_nospam at yahoo.com
Wed May 23 03:15:55 EDT 2007


Hamish:
> > maybe use a wrapper script that has the possible combinations as
> > flags?

Michael Barton wrote:
> Can't these just be options/flags for v.type? The user could set one
> or more.

This makes for a lot of flags.

And how to set flags as mutually exclusive radio buttons not checkboxes?

 [ ] point -> centroid
 [*] centroid -> point
 [ ] line -> boundary
 [ ] boundary -> line
 [ ] kernel -> centroid
 [ ] centroid -> kernel
 [ ] face -> boundary
 [ ] boundary -> face
 [ ] kernel -> point
 [ ] point -> kernel
 [ ] face -> line
 [ ] line -> face


or add two options:

from=[list]
to=[list]

then testing of to/from compatibility in the code?


I don't think allowing multiple operations in the same run is so clear.
(type=line,boundary,point,centroid)

??

Hamish




More information about the grass-dev mailing list