I am creating a world map where I want to make sure that certain countries with an incident are ALWAYS labelled automatically but the other countries are labelled ONLY when there is space to fit the label.
I have created a display field in the table and populated it with
10 - countries where the name MUST be displayed
1 - other countries where the label should show if it doesn't overlap.
Based on QGIS label priority settings I have created a statement
I understand that this won't work but I need to be able to say
Case when
"Display"=10 then "CNTRY_NAME" - must display
"Display"=1 then "CNTRYY_NAME" - should display when not overlapping
How do I achieve this in v3.12 without having to duplicate the layer and creating a filter where the labels are shown even when overlapping (filter display=10) and do not overlap (filter display=1)
Display
driving it? The post you link is from a much older version of QGIS and it probably works better now (in conjunction with the always show option).