[GRASS-git] [OSGeo/grass] 698a47: v.to.rast: Change use=val to use=value (#3110)

Vaclav Petras noreply at github.com
Wed Nov 8 07:47:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 698a47ed316ffb2956692ac8ee987240168e9424
      https://github.com/OSGeo/grass/commit/698a47ed316ffb2956692ac8ee987240168e9424
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M gui/wxpython/rlisetup/functions.py
    M gui/wxpython/rlisetup/sampling_frame.py
    M scripts/r.mask/r.mask.py
    M vector/v.to.rast/main.c
    M vector/v.to.rast/v.to.rast.html

  Log Message:
  -----------
  v.to.rast: Change use=val to use=value (#3110)

The use parameter (option) had value 'val' while the parameter which is using that is called value. This makes it consistent, so use=value and value=1, not use=val and value=1. Both can be shortened, so even use=val and val=1 are still valid parameters.

This changes code which is using v.to.rast.

This does not change the other possible values (options), namely attr, cat, and dir.




More information about the grass-commit mailing list