Bug #5827

Printing issue

Added by Vivien Deparday 11 months ago. Updated 3 months ago.

Status:New Start Date:06/19/2012
Priority:Normal Due date:
Assigned to:Pirmin Kalberer % Done:

0%

Category:-
Target version:-
Patch supplied:No

Description

I am trying to print a map (as an image) with the map composer. The map is composed of two vector layers (boundaries) displayed over tiles (Google Street or OpenStreetMap). It looks good in the main interface. It looks good in the map composer.
However, when printing the map as an image with the map composer, in the resulting exported image, the vector layers are no longer aligned properly with the tiles. It also looks like the tiles are at the wrong scale.

I have the same issue with Google Street and OpenStreetMap. I have not tested the other layers.

I am using:
OpenLayers Plugin v 0.92
QGIS 1.8.0 (from ubuntu-gis unstable)
Kubuntu 12.04

It sounds similar to this issue: http://hub.qgis.org/issues/4223

printing_issue.zip (519.6 kB) Otto Dassau, 11/06/2012 05:56 am

Screenshot_QGIS_google.jpg (751.5 kB) Christian Seemann, 02/15/2013 08:47 am

Test_google_a4_5000.pdf (213 kB) Christian Seemann, 02/15/2013 08:48 am

History

Updated by MRick - 8 months ago

I have exactly the same problem with QGIS 1.8.0 under Mac OS X.

This bug is similar to the issue: http://hub.qgis.org/issues/4223 that has been fixed for 1.7.0, but it is coming back again with QGIS 1.8 …

Edit: it will not happen with all the layers : if I use a Google based layer, no problem, with an OSM based layer, the bug happens.

Updated by MRick - 8 months ago

I made tests back to version 1.7 and everything works perfectly well.
Printing is even smoother with version 1.7 than version 1.8.

Updated by Pirmin Kalberer 7 months ago

We can't reproduce these printing problems using QGIS 1.8 and master branch. Could you provide us a minimal dataset?

Updated by Otto Dassau 6 months ago

Hi,

I just had the same problem with QGIS 1.8 under opensuse 12.2. I added a zip file. If you open the project "printing_issue.qgs" and the included DIN a3 map composition, all seems fine (see image screenshot.jpg). But when I export as PDF the google and vector layer extent don't fit anymore.

I use the openlayers plugin version 1.0.0

Regards
Otto

Updated by Otto Dassau 6 months ago

  • Assigned to set to Pirmin Kalberer

Hi,

problems occur in both plugin versions 0.93 and 1.0.0 when I try to create DIN A3 maps. For DIN A4 it seems to work better.

Regards
Otto

Updated by Christian Seemann 3 months ago

Hi everyone!

I got exactly the same Problem (see attached file):

QGIS 1.8.0 Lisboa
OpenLayers 1.1.0
Mac OS X 10.6.8 Snow Leopard

and Scale or Paper Size make no difference.
I noticed that it often works better "at the beginning" when I start QGIS but after a few (2 or 3) exports and after panning / working on the map int the main window, it starts "matching" the openlayers (google, osm...) a little slower with the vector layer.
...As if the memory was full! (8GB)
And suddenly the export shows the misalignment.

Anyway, I also would be very happy and grateful for some help!!
Thanks and regards

Chris

Updated by Christian Seemann 3 months ago

...and this is the PDF result!

P.S. Sorry for posting the 2 Pics in different messages!

Also available in: Atom PDF