Skip to content

Commit

Permalink
d.rast.edit: Use raster mask, not uppercase MASK (#5001)
Browse files Browse the repository at this point in the history
Replaces usage of uppercase MASK by 'raster mask' in the documentation. This clarifies the sentence in terms of what respecting means (original says 'respected...including any edits' which may suggest the opposite). It gives me too many errors to verify the behavior as the comments asks for, but the code uses r.patch, so the mask is likely applied and thus the mask is applied for any writing (unlike r.mapcalc).
  • Loading branch information
wenzeslaus authored Jan 29, 2025
1 parent a82adc2 commit e135cab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/d.rast.edit/d.rast.edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ <h2>NOTES</h2>
There is no "undo" command nor way to exit edit mode without saving
changes to the output map.
<p>
<!-- MASK behaviour to be verified -->
Any MASK in place will be respected when writing the new raster map layer,
including any edits to the MASKed areas.
<!-- masking behaviour to be verified -->
A raster mask in place will be respected both when reading the original raster
map layer and when writing the new raster map layer,
so any edits to the masked areas will be ignored.

<h3>Geographic Region Concerns</h3>

Expand Down

0 comments on commit e135cab

Please sign in to comment.