Bug report #12217
Labels with data-defined rotation and offset from point are misplaced
|Affected QGIS version:||2.6.1||Regression?:||No|
|Operating System:||Mac OS X||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||20405|
I'm trying to place some labels using an attribute field showing the rotation in degrees and the actuall rotation works fine. What doesn't work is the placement of some of the labels. It seems like if they are rotated in some angles the labels end up on the spot but some doesn't. I think it has something to do with the value of the angles. The labels that are rotated more than 180 degrees tend to get misplaced. The ones with less than 180 is fine.
Attached image shows some rotated labels. Notice the red dot wich is the point of the shape file where the label should start.
#1 Updated by Oskar Karlin almost 8 years ago
Oh one more thing. It uses placements with Offset from point taken from the attribute table. When using Around point it all looks fine. The only problem then is that some of the labels should have an other offset than standard (left, right, centered, above etc).
#5 Updated by Oskar Karlin over 7 years ago
Nyall Dawson wrote:
This pull request should fix this issue: https://github.com/qgis/QGIS/pull/1951
Can you please check whether the described solution would fix your problem?
I'm trying to understand the description but it's hard for me to figure out without testing it and I've never built QGIS from scratch, I've always used the builds from Kyngchaos.