Bug report #17561

When trying to export map via composer all labels from point\line\polygon vector layers disappear

Added by Evgenia Sinieshtany almost 7 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:2.18.12 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:no timely feedback
Crashes QGIS or corrupts data:No Copied to github as #:25458

Description

I ran into a big problem in QGIS - when trying to export map via composer all labels from point\line\polygon vector layers are disappeared.
It happens when projection of layer differs from map canvas projection and when I need to set map rotation in composer.
This problem didn't exist in previous version (e.g. 2.6 I have used), QGIS did everything on-the-fly.
Now exporting rotated map takes too much time - I have to resave all my layers to map projection and transform their coordinates xlbl and ylbl (that already pinned in EPSG:4326).
I hope it could be fixed!

Attached files are the pictures and .shp file (+.qlr) with point layer labels:

lbl4326_rot0 - exported raster with layer in its projection WGS84 when add map and rotation angle = 0 (labels don't disappear)
lbl4326_rot21 - exported raster with layer in its projection WGS84 when add map and rotation angle = 21 (labels are disappear)
(composer_4326_rot21 - labels disappear already in Composer)
lbl_customproj_rot21 - exported raster with reprojected layer in custom map projection when add map and rotation angle = 21 (labels don't disappear)
MapCanvas_PinnedLbl - all labels are pinned (xlbl and ylbl are filled, labels disappear because QGIS can't calculate labels on-the-fly?)
stlm4326 - point vector layer
stlm.qlr - style for layer

composer_4326_rot21.PNG - labels disappear already in Composer (66.8 KB) Evgenia Sinieshtany, 2017-11-27 10:18 AM

lbl_customproj_rot21.jpeg - exported raster with reprojected layer in custom map projection when add map and rotation angle = 21 (labels don't disappear) (204 KB) Evgenia Sinieshtany, 2017-11-27 10:18 AM

lbl4326_rot0.jpeg - exported raster with layer in its projection WGS84 when add map and rotation angle = 0 (labels don't disappear) (223 KB) Evgenia Sinieshtany, 2017-11-27 10:18 AM

MapCanvas_PinnedLbl.PNG - all labels are pinned (xlbl and ylbl are filled, labels disappear because QGIS can't calculate labels on-the-fly?) (62.4 KB) Evgenia Sinieshtany, 2017-11-27 10:18 AM

stlm.qml - style for layer (24 KB) Evgenia Sinieshtany, 2017-11-27 10:18 AM

stlm4326.cpg (5 Bytes) Evgenia Sinieshtany, 2017-11-27 10:18 AM

stlm4326.dbf (16.7 KB) Evgenia Sinieshtany, 2017-11-27 10:18 AM

stlm4326.prj (143 Bytes) Evgenia Sinieshtany, 2017-11-27 10:18 AM

stlm4326.qpj (257 Bytes) Evgenia Sinieshtany, 2017-11-27 10:18 AM

lbl4326_rot21.jpeg - exported raster with layer in its projection WGS84 when add map and rotation angle = 21 (labels are disappear) (186 KB) Evgenia Sinieshtany, 2017-11-27 10:18 AM

History

#1 Updated by Evgenia Sinieshtany almost 7 years ago

The map projection is
+proj=lcc +lat_1=67.5 +lat_2=78.5 +lat_0=0 +lon_0=74 +x_0=0 +y_0=0 +ellps=intl +units=m +no_defs

#2 Updated by Giovanni Manghi almost 7 years ago

  • Subject changed from problem with labels to When trying to export map via composer all labels from point\line\polygon vector layers disappear

#3 Updated by Jürgen Fischer almost 6 years ago

  • Status changed from Open to Feedback

Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.

#4 Updated by Giovanni Manghi over 5 years ago

  • Resolution set to no timely feedback
  • Status changed from Feedback to Closed

Closing for lack of feedback.

Also available in: Atom PDF