I'm trying to create a basic model using QGIS, the QGIS graphical modeler and the sextante toolbar. In part of the model, I need to select features based upon multiple attribute values (for example – A = 'value' OR A = 'another value'). The select by attribute algorithm provided by QGIS only allows you to enter a single value at a time – is there a simple tool/method to enter an expression to select multiple values from a dataset, and which can be incorporated in the graphical modeler?
[GIS] How to select features based on multiple values in graphical modeler
qgisselectsextante
Best Answer
Just to move this question from the Unanswered section - the Sextante plugin has been renamed to the Processing plugin.
And as of version 2.9.0, you can use the Select by expression tool (separately or within the graphic modeler) which allows you to select features based on the expression provided.
This can include multiple attribute values, for example: