[GRASS-git] [OSGeo/grass] 114300: r.blend: Quote map names in r.mapcalc expressions....

Māris Nartišs noreply at github.com
Fri Mar 20 12:29:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 1143002b67e6fac8a70d778a0831b2ec3c77bed7
      https://github.com/OSGeo/grass/commit/1143002b67e6fac8a70d778a0831b2ec3c77bed7
  Author: Māris Nartišs <mn at sungis.lv>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M scripts/r.blend/r.blend.py
    M scripts/r.grow/r.grow.py
    A scripts/r.grow/testsuite/test_r_grow_quoting.py

  Log Message:
  -----------
  r.blend: Quote map names in r.mapcalc expressions. (#277)

* r.blend: Quote map names in r.mapcalc expressions.
Avoids failure if map / mapset name is also a valid mathematical expression.

* r.grow: Quote map names in mapcalc expression

* testsuite: r.grow test case for mapcalc map quoting.
Based on PR #347 and PR #277

Co-authored-by: Māris Nartišs <maris.nartiss at lu.lv>




More information about the grass-commit mailing list