Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.mask.status: Always output name of the mask #4531

Merged
merged 3 commits into from
Oct 31, 2024

Commits on Oct 15, 2024

  1. r.mask.status: Always output name of the mask

    For both active and inactive raster mask, show the name of the raster which is used (or would be used) for the mask. This will allow tools like r.mask or GUI to do lower-level operations with or around mask without a need to know about defaults or user mechanism to change the name.
    
    I'm repurposing the existing 'name' (full_name) key which is now always set (as opposed to being null when no mask is present) as the 'present' boolean key already has the information on the mask presence. I'm renaming full_name to name because that creates a simpler interface (which is whole point of outputting full name as opposed to two keys to get name and mapset).
    wenzeslaus committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e11ed76 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Fix wording

    wenzeslaus authored Oct 31, 2024
    Configuration menu
    Copy the full SHA
    c9744ab View commit details
    Browse the repository at this point in the history
  2. Fix key name

    wenzeslaus authored Oct 31, 2024
    Configuration menu
    Copy the full SHA
    70d14ed View commit details
    Browse the repository at this point in the history