Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data defined label rotation in Radians, not Degrees #21780

Closed
qgib opened this issue Nov 4, 2015 · 3 comments
Closed

Data defined label rotation in Radians, not Degrees #21780

qgib opened this issue Nov 4, 2015 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Labeling Related to QGIS map labeling

Comments

@qgib
Copy link
Contributor

qgib commented Nov 4, 2015

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?

@qgib
Copy link
Contributor Author

qgib commented Nov 5, 2015

Author Name: Giovanni Manghi (@gioman)


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


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Nov 7, 2015

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id removed Version 2.12

@qgib
Copy link
Contributor Author

qgib commented Dec 19, 2015

Author Name: Giovanni Manghi (@gioman)


closing for lack of feedback.


  • resolution was changed from to worksforme
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Labeling Related to QGIS map labeling labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
@qgib qgib mentioned this issue May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Labeling Related to QGIS map labeling
Projects
None yet
Development

No branches or pull requests

1 participant