[GRASS-dev] v.db.update extended: copy values from another column

Markus Neteler neteler at itc.it
Fri May 18 16:37:47 EDT 2007


Hi,

I have extended the v.db.update script:
support added to copy values from another query column in the table.
This can even be with calculation on the fly.

g.copy vect=fields,myfields
v.db.addcol myfields col="polynum integer"
v.db.update myfields col=polynum qcol="cat*2"
v.db.select myfields

cheers
Markus




More information about the grass-dev mailing list