<div dir="ltr">Dear forum<div><br></div><div>I use QGIS 2.8.1.</div><div><br></div><div>I have a raster map, Float32, pixel values range from -0.7 to 1.</div><div><br></div><div>I Would like to make a map with pixel having only two values:</div><div><br></div><div>pixels with values <= 0 should be 0</div><div><br></div><div>pixels with values > 0 should be 5.</div><div><br></div><div>the sintax</div><div><br></div><div>( "3_NDFI@1" <= 0 ) =0 AND  ( "3_NDFI@1" > 0 ) =5<br></div><div><br></div><div>doesn't work because it produces a map with only 0 values.</div><div><br></div><div>In order to reach my goal I must do</div><div><br></div><div>( "3_NDFI@1" <= 0 ) =0 AND  ( "3_NDFI@1" > 0 ) =1<br></div><div><br></div><div>then multiply result by 5.</div><div><br></div><div>What's the problem? </div><div>Is it possible to fulfil the purpose with only one raster operation?</div><div><br></div><div>Thank you very much</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>
</div>