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

Hamish hamish_nospam at yahoo.com
Sun Dec 3 20:50:39 EST 2006


Martin Landa wrote:
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=5219
> > -------------------------------------------------------------------
..
> It seems you have to specify the llayer parameter too,  e.g.
> 
> d.erase;d.vect pts2 layer=2 display=shape,cat llayer=2
> 
> It is really confusing, I am not sure how to solve it. Do you think,
> would be enough to print a given warning, e.g. "The layer number (2)
> and layer number for labels (1) are not the same.".


It would appear to be perfectly legal to display shapes from one layer
and labels from another. So if this should be mentioned at all, it
should use G_message and not G_warning? (so --quiet makes it go away)
At minimum the label section of the d.vect help page needs to clarify
this.


Hamish




More information about the grass-dev mailing list