https://issues.qgis.org/https://issues.qgis.org/favicon.ico2018-06-08T09:54:41ZQGIS Issue TrackingQGIS Application - Feature request #19143: Processing algorithm for filtering attribute rangeshttps://issues.qgis.org/issues/19143?journal_id=902202018-06-08T09:54:41ZMatthias Kuhn
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>That's possible with the feature filter algorithm:</p>
<p>`"attr" > 0 AND "attr" <= 20`</p>
<p>Do you need something more than this?</p> QGIS Application - Feature request #19143: Processing algorithm for filtering attribute rangeshttps://issues.qgis.org/issues/19143?journal_id=902232018-06-08T11:25:25ZMagnus Nilssonjohnrobot@gmail.com
<ul></ul><p>I would like to filter the features into different groups, so I would need to use something like:</p>
<p>"attr" > 0 AND "attr" <= 20<br />"attr" > 20 AND "attr" <= 40<br />"attr" > 40 AND "attr" <= 60</p>
<p>I thought that "Feature Filter" would let me filter features into different groups for further processing, but I can´t get that to work. I only see one output.</p> QGIS Application - Feature request #19143: Processing algorithm for filtering attribute rangeshttps://issues.qgis.org/issues/19143?journal_id=902422018-06-08T14:23:56ZMatthias Kuhn
<ul></ul><p>See the following blog post for an exaplanation how to create multiple outputs:</p>
<p><a class="external" href="http://www.opengis.ch/2018/05/28/how-to-filter-features-in-qgis-using-the-graphical-processing-modeler/">http://www.opengis.ch/2018/05/28/how-to-filter-features-in-qgis-using-the-graphical-processing-modeler/</a></p>
<p>If that is not working for this use case, please provide more details so we can see what's wrong (a model, screenshots, ...).</p> QGIS Application - Feature request #19143: Processing algorithm for filtering attribute rangeshttps://issues.qgis.org/issues/19143?journal_id=902792018-06-11T09:27:07ZMagnus Nilssonjohnrobot@gmail.com
<ul></ul><p>Yes, that helped. I guess I´m still not used to how Processing models work. I did of course have to catch the output in the following algorithm.</p> QGIS Application - Feature request #19143: Processing algorithm for filtering attribute rangeshttps://issues.qgis.org/issues/19143?journal_id=902822018-06-11T10:04:30ZNyall Dawson
<ul><li><strong>Resolution</strong> set to <i>invalid</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>