Skip to content

Latest commit

 

History

History
executable file
·
59 lines (44 loc) · 1.37 KB

README.md

File metadata and controls

executable file
·
59 lines (44 loc) · 1.37 KB

QGIS Algorithms (version 3.12)

Execute QGIS algorithms outside of QGIS GUI

Requirements

  • python 3.6+
  • QGIS 3.12+

Installation

Ubuntu 18.04

  • python3
sudo apt-get install python3
  • QGIS 3.12
  1. add the following to /etc/apt/sources.list
deb https://qgis.org/ubuntu bionic main
  1. add qgis.org repository public key to your apt keyring
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 51F523511C7028C3
  1. install QGIS - see QGIS official installation page
sudo apt-get update
sudo apt-get install qgis qgis-plugin-grass
  1. add to your .bashrc or .bash_profile
export PYTHON_PATH=/usr/share/qgis/python

# for GPU-less machines
export QT_QPA_PLATFORM='offscreen'

Modules

Help

Algorithms

TODOs

  • Use argparse.ArgumentParser