[GRASS-dev] [GRASS GIS] #1192: wxGUI: propagate option key_desc
GRASS GIS
trac at osgeo.org
Fri Oct 8 01:46:51 EDT 2010
#1192: wxGUI: propagate option key_desc
------------------------------+---------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: parser, v.mkgrid | Platform: All
Cpu: All |
------------------------------+---------------------------------------------
Hi,
the wx module auto-gen GUI dialogs do not report the contents of
opt->key_desc, so correct usage of the module options are hard to figure
out without carefully studying the help page.
v.mkgrid is a good example.
{{{
Usage:
v.mkgrid [-pq] map=name grid=rows,columns [position=string]
[coor=x,y] [box=width,height] [angle=value] [breaks=value]
}}}
the wx module GUI for it just asks for an int for grid= and box=, and a
float for coor=. Little way to know you need a comma separated list, and
it's even worse if the input is like x0,y0,x1,y1 and you don't know the
order (an even worse than that example of this can be found in
r.transect).
The tcl/tk GUIs are a better, but still a bit murky.
The --interface-description item for this is <keydesc>.
entering this as a "defect" as v.mkgrid, r.transect, et al are at first
unusable without this part of the usage definition.
thanks,
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1192>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list