Bug report #13753

Data defined label rotation in Radians, not Degrees

Added by Steven Kay over 8 years ago. Updated over 8 years ago.

Affected QGIS version:2.12.0 Regression?:No
Operating System:Linux Ubuntu 32-bit Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:No Copied to github as #:21780


According to 'description' popup on the data-defined rotation property for labels.. this suggests degrees...

Active: yes (ctrl|right-click toggles)
In edit mode, layer's relevant labeling map tool is:
Defined attribute field -> enabled
Defined expression -> disabled
Expected input:
double [*-180.0 - 180.0*]
Valid input types:
string, int, double
Current definition (expression):

I noticed labels disappeared above a value of 10. After a bit of experimentation I discovered the units were radians (hence 1.57, to match the 90 degree canvas rotation)

Can't remember if this used to be in degrees, or is this just an inconsistency with the pop-up description?


#1 Updated by Giovanni Manghi over 8 years ago

  • Status changed from Open to Feedback

I can apply use data defined rotation using values that are representing degrees... testing on linux/master.

#2 Updated by Giovanni Manghi over 8 years ago

  • Target version deleted (Version 2.12)

#3 Updated by Giovanni Manghi over 8 years ago

  • Resolution set to worksforme
  • Status changed from Feedback to Closed

closing for lack of feedback.

Also available in: Atom PDF