[GRASS-dev] syntax for v.db.update???

Martin Landa landa.martin at gmail.com
Fri Aug 15 13:56:56 EDT 2008


Hi,

2008/8/15 Michael Barton <michael.barton at asu.edu>:
> I've tried this all combinations that I can think of and still get an error.
> So I'm asking the larger community if anyone knows the secret handshake is
> to get v.db.update to put RGB values into a column for coloring vectors.
>
> I would like to get the following to work.
>
> v.db.update map=fields layer=1 column=area value=0:128:128 where=area>=101
> and area<=10000

[...]

this should work

v.db.update map=fields layer=1 column=value value='0:128:128'
where="area>=101 and area<=10000"

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-dev mailing list