<div dir="ltr">Dear community<div><br></div><div>I start from a raster layer, 8bit unsigned integer. Pixel value ranges from 1 to 12.</div><div><br></div><div>I would like to mask the pixels with value>8, setting their new value to 0.</div><div><br></div><div>I used raster calculator with this formula</div><div><br></div><div> ( "lc_n_italy1@1" >= 8 )  * ("lc_n_italy1@1" * 0)<br></div><div><br></div><div>I tried also </div><div><br></div><div> ( "lc_n_italy1@1" >= 8 )  * 0<br></div><div><br></div><div>but I always obtain a map with only "Nan"</div><div><br></div><div>Can you help me?</div><div><br></div><div>Thank you</div></div>