It looks like I figured out what is going on…

The mask file was having the non-null areas interpreted as “No Data” and the 
Null areas were seen as “0” in version 7. This blanked out everything.  I ran 
it through raster calculator and now it is back to normal. 

Haven’t a clue why the mask works under 6.4 and not 7.






Sent from Windows Mail





From: César Augusto Ramírez Franco
Sent: ‎Friday‎, ‎June‎ ‎20‎, ‎2014 ‎6‎:‎42‎ ‎AM
To: [email protected]








 



"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
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to