Oh yes, of course I could use the sql= option... I just overlooked that after moving from GRASS6.5 where this option is not yet existing. Thank you ...
/Johannes On Thu, Apr 11, 2013 at 12:47 PM, Glynn Clements <[email protected]>wrote: > > Johannes Radinger wrote: > > > Thank you Hamish, including the option "input=-" in the python line (for > > GRASS7) solved the problem. > > Why read the command from stdin rather than using sql=...? E.g.: > > grass.write_command("db.execute", sql = "UPDATE my points SET prob=100") > > -- > Glynn Clements <[email protected]> >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
