Thanks, but the data type doesn't change that's a shell script. I still have the same error message: (sorry, it's in french, but it says as much as v.db.addcol is not a executable program or a bat file).

I tried as well os.system("v.db.addcol map=ditch columns='urban int'"), but it's the same.

Sonja


'""' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes


Martin Landa a écrit :

Hi,

2010/3/3 Sonja Jankowfsky <[email protected]>:

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



--
Sonja Jankowfsky
UR Hydrologie-Hydraulique
Cemagref de Lyon
3 bis quai Chauveau CP 220
69336 Lyon Cedex 09
FRANCE
Tel : (+33)4 72 20 86 11 Fax : (+33)4 78 47 78 75
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to