[GRASS-user] Raster Mask under version 7 causes map to go white

César Augusto Ramírez Franco caesarivs at gmail.com
Fri Jun 20 06:42:35 PDT 2014


>
>   "The mask is just 0 and 1’s"
> you must use null and non null
>

​Or maybe try with "maskcats=1" as an aditional parameter on the r.mask
command, in any case you can do this:

r.mapcalc exp="MASK​

​= if(MASK == 0, null(), 1)"

-- 
*César Augusto Ramírez Franco*
Laboratorio de Sistemas Complejos Naturales
Escuela de Geociencias
Facultad de Ciencias
Universidad Nacional de Colombia - Sede Medellín
Teléfono: (57-4) 430 9369 - 30
​0 459 6085
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140620/a3cc9b59/attachment.html>


More information about the grass-user mailing list