[GRASS-git] [OSGeo/grass-addons] 231f8c: r.learn.ml2: fix r.category call in r.learn.predic...

Markus Neteler noreply at github.com
Mon Aug 15 09:29:35 PDT 2022


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 231f8c68892eb112764351c2954c1b492d6b50f2
      https://github.com/OSGeo/grass-addons/commit/231f8c68892eb112764351c2954c1b492d6b50f2
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2022-08-15 (Mon, 15 Aug 2022)

  Changed paths:
    M src/raster/r.learn.ml2/r.learn.predict/r.learn.predict.py

  Log Message:
  -----------
  r.learn.ml2: fix r.category call in r.learn.predict (#774)

Avoid crash when category labels contain a comma as e.g. in US NLCD Land cover product by changing the separator from comma to pipe character.

(see https://grasswiki.osgeo.org/wiki/NLCD_Land_Cover#Legend)




More information about the grass-commit mailing list