Wednesday, 16 March 2016

printing - OpenLayers low resolution and/or shifts in QGIS print composer?


I'm having trouble with the OpenLayers Plugin of Qgis and the map composer:


If I create an OSM-background layer and if I want to export this, the OSM-Layer looks perfectly all right in the normal qgis program window. But in the map composer and after export the layer has shifted relatively to my other shape layers (EPSG:32633 - WGS 84 / UTM zone 33N).


The second thing is that the output resolution of the exported osm-layer is very, very poor.


A really bad way of getting around this whole trouble would be to increase the screen resolution and make a screenshot of the map composition window of qgis. But I don't think this would be very professional. It also would cause a lot of pain :)


I'm using Qgis 1.8.0-Lisboa under Linux. The openlayers plugin is version 0.92.


coastlines shifted



Answer



Late Update



The problems with the Openlayers plugin and the print composer last for years now, without a solution. As a consequence, try to avoid the Openlayers plugin when you need a print output. A new plugin, QuickMapServices, has been developed in the meantime. I suggest to try that.




Sorry, I can not reproduce the error. Can you try the current version of Openlayers plugin (1.0.0), and Qgis master? Print composer has improved a lot after Lisboa.


Also you can try reprojecting your data layer to EPSG 3857. I guess that's your project CRS.


Maybe related to this bug reports:


http://hub.qgis.org/issues/4223


http://hub.qgis.org/issues/5827


http://hub.qgis.org/issues/6653


but seems to appear not in every case.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...