[GRASS-git] [OSGeo/grass] cb37ba: i.ortho.target: Rename location and mapset options...

Vaclav Petras noreply at github.com
Fri Mar 22 14:43:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: cb37ba72188183b22f233db7ed18d22ef8ff1068
      https://github.com/OSGeo/grass/commit/cb37ba72188183b22f233db7ed18d22ef8ff1068
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M gui/wxpython/image2target/g.gui.image2target.py
    M imagery/i.ortho.photo/i.ortho.camera/main.c
    M imagery/i.ortho.photo/i.ortho.elev/main.c
    M imagery/i.ortho.photo/i.ortho.photo/i.ortho.photo.html
    M imagery/i.ortho.photo/i.ortho.rectify/i.ortho.rectify.html
    M imagery/i.ortho.photo/i.ortho.rectify/main.c
    M imagery/i.ortho.photo/i.ortho.rectify/rectify.c
    M imagery/i.ortho.photo/i.ortho.rectify/target.c
    M imagery/i.ortho.photo/i.ortho.target/i.ortho.target.html
    M imagery/i.ortho.photo/i.ortho.target/main.c
    M imagery/i.ortho.photo/i.ortho.transform/main.c
    M lib/gis/renamed_options

  Log Message:
  -----------
  i.ortho.target: Rename location and mapset options to target (#3131)

i.ortho.target has option target_location and mapset_location. This renames them to target_project and target_mapset, so the new names are consistent. While mapsets are in locations (projects), there seems to be no reason for the word location in mapset_location because it is G_OPT_M_MAPSET.

This also includes change for g.gui.image2target which uses G_OPT_M_LOCATION with a custom name target_location, now renamed target_project. Both old and new names are consistent with target_project in i.ortho.target.


Co-authored-by: Anna Petrasova <kratochanna at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list