[GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

Martin Landa landa.martin at gmail.com
Wed Mar 3 11:36:07 EST 2010


Hi,

2010/3/3 Sonja Jankowfsky <sonja.jankowfsky at cemagref.fr>:

> grass.run_command("v.db.addcol", map='ditch_l',  columns='urban')

specify data column type, e.g.

grass.run_command("v.db.addcol", map='ditch_l',  columns='urban int')

Martin

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


More information about the grass-user mailing list