Friday, 24 April 2015

QGIS 2.99 and Quick Maps Plugin


Does Quick Maps plugin still work with QGIS 2.99 or is it no longer supported? I am unable to install from zip. Is there a new plugin that allows access to open source data/aerial imagery?


Error is below...



An error occurred during execution of following code: pyplugin_installer.instance().installFromZipFile('C:\Users\geogjo\Downloads\quick_map_services-0.19.3.zip')


File "", line 1 SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape


Python version: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)]


QGIS version: 2.99.0-Master 'Master', 7cfbb6fb1c


Python path: ['C:/PROGRA~1/QGIS2~1.99/apps/qgis-dev/./python/plugins\processing', 'C:/PROGRA~1/QGIS2~1.99/apps/qgis-dev/./python', 'C:/Users/geogjo/AppData/Roaming/QGIS/QGIS3\profiles\default/python', 'C:/Users/geogjo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins', 'C:/PROGRA~1/QGIS2~1.99/apps/qgis-dev/./python/plugins', 'C:\Program Files\QGIS 2.99\bin\python36.zip', 'C:\PROGRA~1\QGIS2~1.99\apps\Python36\DLLs', 'C:\PROGRA~1\QGIS2~1.99\apps\Python36\lib', 'C:\Program Files\QGIS 2.99\bin', 'C:\PROGRA~1\QGIS2~1.99\apps\Python36', 'C:\PROGRA~1\QGIS2~1.99\apps\Python36\lib\site-packages', 'C:/Users/geogjo/AppData/Roaming/QGIS/QGIS3\profiles\default/python']




Josh



Answer



I don't know about Quick Map Service itself, but there is the OpenLayers plugin that has been coming default in QGIS for a few versions already.


Aside from that, you can also add basemap services by manually connecting to the providers' WMS, etc. Here are the services for the Google data:








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:3857
256
256
3
5




Save this as an XML an import it as a Raster in QGIS, and you should have Google Satellite data. In the Service tag, you can comment the satellite URL and uncomment one of the others for access to Maps, Terrain, etc.


The same can be done for OpenStreetMap, Bing, and other services. Not as practical as having a plugin, but it is a workaround.


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