<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-11-19 22:08 GMT+01:00 Veronica Andreo <span dir="ltr"><<a href="mailto:veroandreo@gmail.com" target="_blank">veroandreo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Markus, <br></div><br><div class="gmail_extra"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> The issue is the following: I apply a mask, then I do some processing, I remove the mask and when I display the resulting map, all the pixels were processed. I would expect that those pixels that I masked were treated as NULL and not considered exactly as the message says:<br></blockquote></span><div class="gmail_quote"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span class="gmail-m_-963167819851276412gmail-"><div>><br>> "All subsequent raster operations will be limited to the MASK area. Removing<br>> or renaming raster map named 'MASK' will restore raster operations to<br>> normal."<br><br></div></span>A MASK affects only reading raster data, not writing raster data. Therefore r.mapcalc "test = 1" will always produce a map without NULL cells.<br></div></div></blockquote><div><br></div></span><div><div>Got it! That r.mapcalc expression was not reading any map. If I do for example</div><div><br></div><div>r.mapcalc expression="elev1=elevation + 1"</div><div><br></div>and then remove the mask, it does work as I would have expected.</div><div><br></div><div>IMHO, the message is confusing then... not "all" subsequent raster operations are limited to the mask, only if you read a map... <br></div><div>What about a mask also for writing raster data in GRASS 8 ? :))</div></div></div></div></blockquote><br></div>I have added it here: <a href="https://trac.osgeo.org/grass/wiki/Grass8Planning">https://trac.osgeo.org/grass/wiki/Grass8Planning</a></div><div class="gmail_extra">Maybe someone else thinks this would be useful :)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Vero<br></div></div>