Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

Could anyone here help me with my problem?

Best regards desputin

coastlines shifted

share|improve this question
    
Desputin, Did you ever find a solution to printing high quality OSM print resolution? –  C_K Apr 18 '13 at 17:10

4 Answers 4

up vote 2 down vote accepted

Sorry, I can not reproduce the error. Can you try 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 thats 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.

share|improve this answer
    
Thanks for the answer: Now I have the openlayer plugin and it worked!! How do I get qgis master on debian? Now I have this in te repository: deb qgis.org/debian wheezy main one more question: Can I improve the resolution of the background map? For printing it is very poor... –  desputin Nov 26 '12 at 22:02
    
For the debian installation, you better open a new topic. I can't help you there. For the printing resolution, you can increase the dpi in print composer, but might get a map without background. Or select a larger paper format, and use pdf export or a pdf printer as output. –  AndreJ Nov 27 '12 at 5:12
    
Hm with the printing resolution you misunderstood me. The map looks fine EXCEPT that the OSM-Resolution is bad. This doesn't seem to improve if I export with a higher resolution. –  desputin Nov 27 '12 at 8:06

I think I have identified the problem. when printing if you set the position and size of the map layer in the composer exactly equal to the page size, the open layers match the vector layers, otherwise the openlayers get their extents from the page size and then fit the layer to the smaller map size, causing misalignment.

basically the open layers plugin is using the page size instead of the map size when choosing the area of the open layer to display when printing. As a work around just set the map size to exactly the page size in the composer.

share|improve this answer

5827 #13 has identified the cause of a problem with identical symptoms. The openlayers plugin is taking the page size rather than the map size as a reference.

share|improve this answer
    
Simon, welcome to GISse, and thanks for your input. In the interests of providing as much information in an answer as possible, it might help to provide a link to the bug report that you are referencing. –  Get Spatial Aug 19 at 15:30

5827 #13 has identified the cause of a problem with identical symptoms. The openlayers plugin is taking the page size rather than the map size as a reference. so layout the google earth layer to full paper size.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.