/qgis-nbextension

Run qgis in Jupyter notebook - collection of pygis scripts

Primary LanguageJupyter NotebookGNU General Public License v2.0GPL-2.0

QGIS Jupyter notebook extension: use qgis in jupyter notebook

Installation from source

Clone the repository then install with pip from inside the repository:

pip install .

Description

Qgis notebook extension is syntactic sugar around qgis to leverage use of qgis in jupyter-notebook environment

Load in your notebook with:

%load_ext qgisnbextension

Magic commands

%qgis

How it works

Start a qgis session by initialising a QgsApplication and Message hooks to QgisMessageLog.

Options:

  • --processing : Initialize Qgis processing providers

See also