[GRASS-git] [OSGeo/grass-addons] e227ec: v.what.rast.multi.py: remove mapset part of layer ...

Paulo van Breugel noreply at github.com
Sun Jan 28 20:18:33 PST 2024


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: e227ecd93aaf73b31e6f1ad170d10a5390e1be5f
      https://github.com/OSGeo/grass-addons/commit/e227ecd93aaf73b31e6f1ad170d10a5390e1be5f
  Author: Paulo van Breugel <paulo at ecodiv.earth>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M src/vector/v.what.rast.multi/v.what.rast.multi.py

  Log Message:
  -----------
  v.what.rast.multi.py: remove mapset part of layer names if used for column names (#1018)

Problem:
When no column names are provided, the names of the input raster layers are used as column names. If these include the mapset suffix, an error is thrown (SQLite does not accept @).

Provided solution:
The mapset suffix is removed. Alternatively, if the mapset names should be in the column names, the -m flag can be set. In that case, the @ is replaced with an underscore




More information about the grass-commit mailing list