Helmut Kudrnovsky wrote:

> > Can you try replacing the grass.mapcalc() call with:
> >     grass.write_command('r.mapcalc', file = '-', stdin = expr)
> 
> grass.write_command('r.mapcalc', file = '-', stdin = expr)
> 0
> 
> => calculation done

r60662 modifies the mapcalc() and mapcalc_start() functions to pass
the expression on stdin rather than the command line.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to