[GRASS-dev] where= and cats= to all vector commands

Moritz Lennert mlennert at club.worldonline.be
Thu Nov 15 04:29:02 EST 2007


On 15/11/07 10:09, Wolf Bergenheim wrote:
> Hi developers,
> 
> What do you people think of the idea to add where= and cats= parameters
> to all vector commands? Also add any missing layer= parameter (like with
> v.voronoi).

+1

> 
> What should be the case where both cats and where is supplied? Ideally
> merging it so that first do the where, and then limit the result to only
> cats in the given list? Or output a warning that where takes precedence
> over cats?

I would go for the second. If people really need to merge the two, they 
can use cats=X in the where clause.

Moritz


More information about the grass-dev mailing list