https://issues.qgis.org/https://issues.qgis.org/favicon.ico2014-11-09T20:56:12ZQGIS Issue TrackingQGIS Application - Bug report #11350: Raster Calculator not giving the correct raster from a slope percentage rasterhttps://issues.qgis.org/issues/11350?journal_id=573592014-11-09T20:56:12ZNicolas Cadieux
<ul></ul><p>I think you are getting 0 and 1. 0 for cells that don't meet the requirements and 1 where the cells do. You then need to multiply that by your slope layer so that the 1 get multiplied by the slope values and the 0 stay zeros...</p> QGIS Application - Bug report #11350: Raster Calculator not giving the correct raster from a slope percentage rasterhttps://issues.qgis.org/issues/11350?journal_id=573802014-11-10T16:13:59ZPrime Enrique Rendondomin0it@yahoo.com
<ul></ul><p>how can i multiple the said values to my slope? but i'm still looking for ways to multiply it. thanks for the reply.</p> QGIS Application - Bug report #11350: Raster Calculator not giving the correct raster from a slope percentage rasterhttps://issues.qgis.org/issues/11350?journal_id=622152015-06-09T12:21:38ZNyall Dawson
<ul><li><strong>Resolution</strong> set to <i>invalid</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>An expression like:</p>
<p>("slope%@1" <= 8 ) * "slope%@1"</p>
<p>will work</p>