I am trying to include Google Roads as XYZ Tiles in QGIS in a map that I want to export as PDF as a Layout.

Google roads features and the text looks ok on QGIS and in the Layout, however, after I export the map, the text is very small (tiny) in the PDF. I played with the map scale, and when I exported the map with a 1:100 up to 1:1000 scales it is ok, but it is quite small for 1:1000 to 1:3000 scales and almost impossible to read for anything larger. I have tried to change the properties but nothing works for the exported PDF.

I looked for info online, like the following posts

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

Print composer problems Qgis 2.8 Wien with Google Satellite

Problem with print composer when exporting a map with Google Maps Plugin in the background

but most of them are related to issues when the maps are brought through the OpenLayers Plugin or QuickMapServices. I imported Google Roads as XYZ Tiles, as I find it easier, but do not know how to adjust the scales in the output in this case. Does anyone know how to do this?

  • 1
    where did you find a WMS of Google maps? – Ian Turton Dec 11 '18 at 9:15
  • By WMS do you mean the Roads API? – nmtoken Dec 11 '18 at 9:18
  • Sorry, i meant as an XYZ Tiles connection. – Juan Ossa Dec 12 '18 at 1:12

This depends of the export settings, especially the resolution. QGIS sets the default resolution to 300dpi, so the rendering process will ask the Server for 300dpi images. You can play around with the values and you will see the different results with the google street layer.

enter image description here

Layout exportet with 96dpi

Same Layout with 300 dpi

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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