Is it possible to rotate marker symbols (e.g. a triangle) in QGIS individually with an attribute field like in ArcGIS?

Edit: I would like to rotate each marker symbol individually in category A with an attribute field X, where the angle is defined.

This is how it is done in ArcGIS: "To rotate marker symbols individually based on the value of a field in the point layer's attribute table click Layer Properties dialog box > Symbology tab > Advanced > Rotation. On the Rotate dialog box, the Rotate Points by Angle in this field specifies the field that holds angular values and the Rotation Style controls the origin and direction of rotation" (ESRI Help).


2 Answers 2


Use Data defined override. Go to Layer Properties and in Simple marker style open the Data defined override menu with icon next to the Angle value. Choose Field Type -> "your column".

Data defined override button: enter image description here

Select column: enter image description here


enter image description here

If you select Edit... in Data defined override you can also insert a custom expression.

  • My edit in better words ;)
    – ami
    Commented Nov 8, 2016 at 9:57

If u want rotate symbol for a specific Category go style -> change symbol method to Rule-Based ->add new rule like "column" = 'something' and chose rotation angle

Edit: solution to your problem: click icon next to rotation input field -> click edit (under "Variable") -> type "column"

Where "column" is the name of column where angles are defined

  • Is it possible to rotate symbol markers within a category with an attribute field? E.g. you have a category A and then each marker of this category is rotated with an attribute field B, where the rotation angle is defined?
    – Nevhis
    Commented Nov 8, 2016 at 9:13
  • Yes, see edit to my post
    – ami
    Commented Nov 8, 2016 at 9:18

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