0

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

3
  • Is the expression always the same?
    – Erik
    May 25, 2022 at 11:58
  • For each run of the model I'd like to use an other expression 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
    May 25, 2022 at 13:56

1 Answer 1

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

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

Your Answer

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

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