I would like to rotate the text value assigned to my point in QGIS. For this purpose I used the following threads:

Rotating labels in QGIS 2.8.2 QGIS Labels Rotation

from which the best appears to be this one:


Anyhow, I think I got the mechanism of rotation. Unfortunately, instead of presenting my initial values allocated to the given point, I am getting the angle value.

enter image description here

I would like to admit, that maybe my situation isn't as straightforward as in the given example, because I used the rule-based leveling, where I set the text character based on the "Visible" column in my data attribute table. The string still comes from the "Text" column, but the rule from the "Visible" column. Is that something, which might affect the rotation? I've picked up the "Text" for the rotation rule. Shall I use the "Visible" variable then?


Manual changing the label properties doesn't help at all. When I put the right value, the angle immediately equals this value and other way round.

enter image description here

Is there a way to make the label value independent from the angle value?

  • Are you aware of the QGIS EasyCustomLabeling Plugin?
    – Taras
    Aug 26, 2020 at 10:46
  • I somehow don't see what exactly you use as label for each of your rules.
    – Erik
    Aug 26, 2020 at 10:51
  • This plugin doesn't help for me. It imports additional text layer and I have got "1" value under each string. How can I fetch it from Data attribute table?
    – Geographos
    Aug 26, 2020 at 10:57

1 Answer 1


in the settings of your rule based label set your label with your "Text" field

then to set the rotation in you label settings: Placement -> Data defined -> Rotation set expression or field

(Sorry for the french ui but things should be at the same place)

enter image description here enter image description here

Your Answer

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

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