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

Martin Landa landa.martin at gmail.com
Mon Dec 4 06:25:11 EST 2006


... oops, I forgot to test DISP_CAT, etc. The updated patch attached.

Martin

2006/12/4, Martin Landa <landa.martin at gmail.com>:
> Hi,
>
> 2006/12/4, Hamish <hamish_nospam at yahoo.com>:
> > 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.
>
> I agree with you, the similar patch (note: without doc update)?
>
> Best regards, Martin
>
> --
> Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *
>
>
>


-- 
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-2.diff.gz
Type: application/x-gzip
Size: 548 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061204/c2084620/d_vect-llayer-2.diff.gz


More information about the grass-dev mailing list