qissue-bot / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
http://qgis.org
GNU General Public License v2.0
0 stars 0 forks source link

GRASS MASK only vizualized for PERMANENT #3329

Closed qissue-bot closed 5 years ago

qissue-bot commented 5 years ago

Author Name: Otto Dassau (Otto Dassau) Original Redmine Issue: 3341, https://issues.qgis.org/issues/3341


Hi,

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.

Otto

qissue-bot commented 5 years ago

Original Redmine Comment Author Name: Radim Blazek (Radim Blazek) Original Date: 2015-12-15T06:58:14.000Z


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 commit:e7a0167.