Skip to content

Instantly share code, notes, and snippets.

@bigzijing
bigzijing / qgis_basemaps_updated.py
Last active March 16, 2023 15:18
qgis_basemaps_updated.py
"""
This script should be run from the Python console inside QGIS.
It adds online sources to the QGIS Browser.
Each source should contain a list with the folowing items (string type):
[sourcetype, title, authconfig, password, referer, url, username, zmax, zmin]
You can add or remove sources from the sources section of the code.
Original Script by Klas Karlsson, https://github[dot]com/klakar/QGIS_resources/tree/master/collections/Geosupportsystem/python