[GRASS-user] loop import+merge

Martin Landa landa.martin at gmail.com
Tue Dec 14 08:17:18 EST 2010


2010/12/14 Patrick_schirmer <patrick_GIS at gmx.ch>:
>        grass.run_command(
>            'v.patch',flags="-o",
> input="GR_av_liegensch_poly"+i+",GR_av_liegensch_poly",
> output="GR_av_liegensch_poly")

v.patch doesn't have `-o` flag. It should be `--o` or `--overwrite`.
Preferred way how to use this flag in Python is `overwrite=True`, so

'v.patch', overwrite=True, input=...


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

More information about the grass-user mailing list