QGIS Model Designer – Select by Expression Not Working Solution

qgisqgis-modelerselect-by-expression

I try to do a simple model with the Model Designer of QGIS and I have an issue with the algorithms Select by expression.

enter image description here

And when I want to check the validity of the model the explanation is just : The Algorithm is not available

enter image description here

You can see the settings I used for Select by expression

enter image description here

Does someone know why I can't use Select by expression ?

Moreover, you can see my QGIS settings with the following screenshot

enter image description here

OK, as Babel said I tried to use Extract selected features and it works but only if I set a model output also for this algorithm
enter image description here

When I set algorithm output it doesn't work

Best Answer

You have not set any valid input for Modify current selection by, it is empty. If you want to create a new selection, set the icon to the left to Value (icon 123 instead of the gear icon) and choose an option, e.g. creating new selection.

enter image description here

Use an Extract selected Features algorithm after the Select by expression algorithm, then use this as input for Clip algorithm.

Related Question