Bug report #3341
GRASS MASK only vizualized for PERMANENT
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||SuSE||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||13401|
QGIS only recognizes a GRASS MASK file correctly during vizualization, when the MASK file is in mapset PERMANENT. If MASK is in another mapset, the complete maps are drawn as usually.
#6 Updated by Radim Blazek almost 6 years ago
- Status changed from Open to Closed
Rasters are masked in GRASS library until G_suppress_masking()/Rast_suppress_masking() is called. Rasters are masked by MASK raster from current mapset. While in traditional GRASS session there is always one mapset open as current, in QGIS, GRASS rasters may be rendered without opening a mapset. Because applying or not applying mask according to if a mapset is open or not would be very confusing, masking for rendering and querying rasters was disabled completely in QGIS in e7a0167.