Skip to content

Instantly share code, notes, and snippets.

View ibaris's full-sized avatar
🤡
Failure is not an option – it comes bundled with Windows.

Ismail Baris ibaris

🤡
Failure is not an option – it comes bundled with Windows.
View GitHub Profile
@ibaris
ibaris / basmap2qgis.py
Created September 21, 2023 06:51
Adding basemaps in QGIS
"""
This script should be run from the Python consol 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.
Script by Klas Karlsson