Data defined label rotation in Radians, not Degrees #21780
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
High Priority
Labeling
Related to QGIS map labeling
Author Name: Steven Kay (Steven Kay)
Original Redmine Issue: 13753
Affected QGIS version: 2.12.0
Redmine category:labelling
According to 'description' popup on the data-defined rotation property for labels.. this suggests degrees...
Active: yes (ctrl|right-click toggles)
Usage:
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):
1.57
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?
The text was updated successfully, but these errors were encountered: