Is there a way to load a saved filter expression (.qqf or .json) in QGIS Modeler and use it in the Feature filter?

  • Is the expression always the same?
    – Erik
    Commented May 25, 2022 at 11:58
  • For each run of the model I'd like to use an other expression Commented May 25, 2022 at 12:16
  • You may use expressions as input for a model and hand it to the select by expression tool. Would this suffice?
    – Erik
    Commented May 25, 2022 at 13:56

1 Answer 1


Thanks to Erik for the idea to use Select by expression. Here is my solution: enter image description here

For "Input" I used "Vector Layer" and for "Filter" I used "Expression". Parameter for this model look like this:

enter image description here

  • Could you add information what your "Input" and "Filter" model input actually are? Commented May 30, 2022 at 13:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.