[GRASS-dev] [bug #5219] (grass) d.vect display=cat works only for layer 1

Martin Landa landa.martin at gmail.com
Mon Feb 19 06:24:36 EST 2007


Hi,

2007/2/19, Hamish <hamish_nospam at yahoo.com>:

> easier said than done; the parser can't know before hand what the answer
> to another option will be. but it is possible to give it no default and
> add to the llayer's option description that it will use the layer= answer
> if not given. While possible, I'm still not sure if it's advisable. (shrug)

it could be implemented like this (see the patch) for example. Just I
am also not sure, maybe it is better for the user to set up the llayer
according to layer parameter(?)

Martin

-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d-vect-llayer-1.diff
Type: text/x-patch
Size: 1173 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20070219/6f09abbb/d-vect-llayer-1.bin


More information about the grass-dev mailing list