I previously asked for help in Prioritizing the Attribute table of a self made polygon layer Prioritising polygons in QGIS
Now I want to change this prioritisation in accordance to multiple values of multiple columns.
I am looking for a nice way to add the logic
If "Area Size" > 10 ha then Prio = 1
If "Sun intensity" = high then Prio -1, otherwise Prio stays the same
If "Groundpoints" > X, then Prio +1, otherwise Prio -1
If "Restriction" = True, then Prio = 0
the minimum Priority possible is 1, because 0 determines the site of interest to be deleted and is only possible to be acchieved if "Restriction" = true.
The highest Priority possible is 3, which can either be determined through Area size (previous post) or additional factors (current post)
I am aware that I can achieve this command through endless WHEN, AND or OR Cases, however, I am looking for a clean and easy to understand solution.