Hamish wrote:
> > Oops; I could have sworn that r.mapcalc understood hex. Sorry; you'll
> > need to use decimal values, e.g.
> >
> > r.mapcalc MASK="if(sur_refl_qc_250 & 240 == 176 , 1, null())"
>
> so r.mapcalc can do bitwise & |? (nothing about that in the help pages)
Damn, no, that neither.
Third attempt:
r.mapcalc MASK="if((sur_refl_qc_250 / 16) % 16 == 11 , 1, null())"
I'll look at adding the missing functionality to r.mapcalc.
--
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser