How to add XYZ Tiles #QGIS

1. Load Connections

A collection of several basemaps in an xml file.

https://github.com/Mariosmsk/qgis-basemaps

2. A nice script to add basemaps via python console (by Klas Karlsson):
https://github.com/klakar/QGIS_resources/blob/master/collections/Geosupportsystem/python/qgis_basemaps.py

3. Simple add

Note:

To remove all the connections at once. You can use the following code via python console:

settings = QgsSettings()
settings.remove('qgis/connections-xyz')
iface.reloadConnections()

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s