[GRASS-dev] r.mapcalc - expression line to long

Glynn Clements glynn at gclements.plus.com
Wed Jul 2 17:24:16 PDT 2014


Helmut Kudrnovsky wrote:

> by running the python script, a r.mapcalc-error pops up that the expression
> line is to long.

Can you provide the exact message?

There shouldn't be any practial limitation on the length of an
expression in r60662 and later.

[Previously, there may have been OS-imposed limitations on the length
of a command line, but r60662 changed grass.script.mapcalc() to pass
the expression via stdin rather than the command line.]

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list