Bug report #14236

Moved labels disappear from the rotated map canvas and from rotated print composer on projected CRS

Added by Isabella Merkulova over 8 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Canvas
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22233

Description

Bug is presented when you choose in Project properties any projected coordinate system (not geographic). Labels that have been moved with "move label tool" dissapear from map canvas or print composer when you try to rotate map. This is related to bug #12005 , that is closed, but problem hasn't been solved.

1.jpg - cities without using move label tool and without using rotation map canvas (204 KB) Isabella Merkulova, 2016-02-05 04:53 AM

2.jpg - cities with using move label tool and without using rotation map canvas (213 KB) Isabella Merkulova, 2016-02-05 04:53 AM

11.jpg - cities without using move label tool and WITH using rotation map canvas (219 KB) Isabella Merkulova, 2016-02-05 04:53 AM

21.jpg - cities WITH using move label tool and WITH using rotation map canvas (202 KB) Isabella Merkulova, 2016-02-05 04:53 AM

label-problem.qgs (122 KB) Isabella Merkulova, 2016-02-08 12:10 AM

Associated revisions

Revision d36fb619
Added by Nyall Dawson over 7 years ago

[labeling] Fix data defined placement with rotated maps

For layers requiring reprojection and with rotated maps any
labels with data defined x/y would not be rendered

Fix #14236

Revision c2fbab19
Added by Nyall Dawson over 7 years ago

[labeling] Fix data defined placement with rotated maps
For layers requiring reprojection and with rotated maps any
labels with data defined x/y would not be rendered

Fix #14236

(cherry-picked from d36fb619b5a210406aaa50ed3aab59763f5f749a)

Revision e42bd87b
Added by Nyall Dawson over 7 years ago

[labeling] Fix data defined placement with rotated maps
For layers requiring reprojection and with rotated maps any
labels with data defined x/y would not be rendered

Fix #14236

(cherry-picked from d36fb619b5a210406aaa50ed3aab59763f5f749a)

Revision 446493d1
Added by Nyall Dawson over 7 years ago

[labeling] Fix data defined placement with rotated maps
For layers requiring reprojection and with rotated maps any
labels with data defined x/y would not be rendered

Fix #14236

(cherry-picked from d36fb619b5a210406aaa50ed3aab59763f5f749a)

History

#1 Updated by Giovanni Manghi over 8 years ago

  • Status changed from Open to Feedback

I cannot confirm on QGIS master.

  • label a layer
  • set fields for data defined position
  • toggle editing, move label
  • save
  • rotate map > the moved label shows in the new place

What is still confirmed is #13840

#2 Updated by Isabella Merkulova over 8 years ago

Giovanni Manghi wrote:

I cannot confirm on QGIS master.

  • label a layer
  • set fields for data defined position
  • toggle editing, move label
  • save
  • rotate map > the moved label shows in the new place

What is still confirmed is #13840

Well, I can't say that it's true for my projects. I attach a project for example. Here names of objects in black font have higher priority than labels in purple font. Labels in black have coordinates ($x and $y) and they disappear from print composer with rotated map (look at the print composer "rotation-map").

#3 Updated by Giovanni Manghi over 8 years ago

  • Status changed from Feedback to Open

Well, I can't say that it's true for my projects. I attach a project for example. Here names of objects in black font have higher priority than labels in purple font. Labels in black have coordinates ($x and $y) and they disappear from print composer with rotated map (look at the print composer "rotation-map").

That's why is important attaching sample projects and data, I can clearly see the issue with yours, but I wasn't able to replicate myself.

#4 Updated by Nyall Dawson over 7 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF