I just created a layer in which I hand drew a lot of polygons.
Now I want to fill out the Attribute table through commands since it will save me a bunch of time.
Therefore, I calculated the area of each polygon using
$area/10000 to have the size in
I want to prioritize each area
- above 10 ha as Prio 1
- each below 1 ha as Prio 3
- each in between as Prio 2
Does anyone have a smart solution to the problem?
My closest approach is:
IF ("Size ha" > 10, 1, 2)
That however still leaves me with having to distinguish the areas of Prio 2 to Prio 3 manually.