[GRASS-dev] GRASS 7: d.vect: layer=-1 default conflicts with where option

Markus Metz markus.metz.giswork at googlemail.com
Tue Sep 6 02:55:32 EDT 2011


On Tue, Sep 6, 2011 at 8:51 AM, Markus Neteler <neteler at osgeo.org> wrote:
> On Tue, Sep 6, 2011 at 7:20 AM, Glynn Clements <glynn at gclements.plus.com> wrote:
>
>> Is layer 1 *genuinely* special? I.e. is there some reason why it
>> *should* be the default layer?
>
> Yes, since most users will have only one layer. This renders it kind of
> *genuinely* special.

Technically speaking, if a grass vector has only one layer, this layer
can have any number, not necessarily 1. Layer 1 is simply the most
common layer, most vectors have this layer.
>
> I believe that a software should address with default values the needs
> of the majority of the users. Or remove the default value if it does not
> behave like this (i.e. lead to an error message)...

Error message updated in r48126.

Markus M


More information about the grass-dev mailing list