Tuesday 23 August 2016

High resolution, printable alternative to OpenLayers plugin for QGIS?


Are there any alternatives to OpenLayers plugin to have Google / Bing maps for QGIS projects?



I need an high quality cartography (both aerial and street view) but OpenLayers plugin does not allow printing of these.


My configuration is:



  • QGIS 2.6.1

  • Windows 7 64-bit

  • OpenLayers version 1.3.5



Answer



Just add the BaseLayer as a RasterLayer.









http://mt.google.com/vt/lyrs=s&x=${x}&y=${y}&z=${z} -->






-20037508.34
20037508.34
20037508.34
-20037508.34
20
1
1
top


EPSG:900913
256
256
3
5



Save this part as a xml-file (or download and adapt following file: http://www.gdal.org/frmt_wms_googlemaps_tms.xml )



Then add the Layer like a normal Rasterlayer:


enter image description here


But i would doublecheck if there are any copyright restrictions: http://www.google.com/intl/en_ALL/help/terms_maps.html


(source of the xml-file: post from Timur Girgin on http://hub.qgis.org/issues/6822 )


Addition: as Answer to the question if it's also possible to load OSM this way:




http://tile.openstreetmap.org/${z}/${x}/${y}.png



-20037508.34
20037508.34
20037508.34
-20037508.34
18
1
1
top

EPSG:3857

256
256
3



And ArcGIS:




http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/${z}/${y}/${x}>



-20037508.34
20037508.34
20037508.34
-20037508.34
17
1
1
top


EPSG:3857
256
256
3
10



and one more for imagery





http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/${z}/${y}/${x}>


-20037508.34
20037508.34
20037508.34
-20037508.34
17

1
1
top

EPSG:3857
256
256
3
10




SOURCE: http://www.gdal.org/frmt_wms.html


As mentioned above this is only the technical aspect. Concerning restrictions have a look at the Terms of use of the chosen basemap provider.


Edit1: Just answered a Question about how to use HERE Tiles in QGIS. These example you will find here: HERE background maps in QGIS possible?


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...