[GRASS-windows] syntax for v.db.select run by grass.run_command

Markus Neteler neteler at osgeo.org
Mon Mar 12 19:26:58 EDT 2012


On Fri, Mar 9, 2012 at 3:46 PM, Liu, Huili <HLiu at ap.org> wrote:
> Thanks Markus. That is a great example to generate a report.
> DBF driver doesn't support for join tables

No because DBF is really only a table format.

> so I have to add a color column in the table to shade polygon. But
> grass.run_command('v.db.addcol', map='from_shape', columns='WINNER_COLOR, VARCHAR()') requires awk. After I installed awk, it still show the same error. awk is in environment variable and ran fine by cmd. Not sure if it is a bug on Windows.

It will be some path problem... Do you use GRASS 6 or 7?
(maybe I forgot).

Markus


More information about the grass-windows mailing list