0

Now project based custom functions are a thing (QGIS 3.44) I could streamline some of my management of QGIS expressions that get used in various places, so rather than finding all the instances of a certain expression in a project I can have them all use a custom function which I can manage in one place. Will this create performance issues/ will custom python functions execute slower?

2
  • Excellent question for discussion, which could also be asked here reddit.com/r/QGIS. I would follow a rule of thumb: If your function does lightweight logic, e.g. mathematics, the performance hit is minimal. If it involves complex geometry or spatial operations, caching or precomputation may be necessary, as the expression engine must call into the Python interpreter for each evaluation. Commented Nov 12 at 17:45
  • So questions for discussion better on reddit ? My expressions include geometry and spatial operations. Commented Nov 12 at 20:06

0

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.