[GRASS-dev] GRASS 7: d.vect: layer=-1 default conflicts with where
option
Markus Neteler
neteler at osgeo.org
Sun Sep 4 04:13:26 EDT 2011
Hi,
I found that d.vect fails on commandline
d.vect mylakes where="FTYPE IS NULL" type=area col=red
ERROR: Option <layer> must be > 0
d.vect mylakes where="FTYPE IS NULL" type=area col=red layer=1
d.vect complete.
The reason is
layer Layer number or name ('-1' for all layers)
I suppose that the logic in the WHERE part needs to be updated.
Markus
More information about the grass-dev
mailing list