QGIS Automation
Automate QGIS with PyQGIS and Processing models.
QGIS holds hundreds of algorithms you already trust from the toolbox — and every one of them can be called from Python. These guides set up a Python environment that can import qgis, run Processing algorithms with the right parameter dictionary, loop them over whole folders, wrap your own code as a first-class algorithm, export styled map layouts, and run the whole thing headless on a server with no window ever opening.
Start here
The cornerstone guide — the whole workflow end to end. Everything after it goes deeper into one part of it.
Step 1 How to Automate QGIS with Python (PyQGIS): The Complete Workflow automate qgis with python Begin the path →The full path, in order
25 guides: the concepts underneath the work, then each task, then the errors that task produces. Work down, or jump to the step you need.
- The QGIS Processing Framework Explained qgis processing framework explained 🧭 Concept
- QGIS Data Providers Explained: How QGIS Reads Any Data Source qgis data provider explained 🧭 Concept
- The PyQGIS API Map: Which Class Does What pyqgis classes overview 🧭 Concept
- How QGIS Styling Works: Renderers, Symbols and Rules qgis renderer symbol explained 🧭 Concept
- Expressions, Scripts, Models or Plugins? QGIS Extension Points Explained qgis plugin vs script vs model 🧭 Concept
- How to Run QGIS Processing Algorithms from Python qgis processing algorithm python ⚙️ How-To
- How to Run a PyQGIS Script Headless Without Opening QGIS run pyqgis headless ⚙️ How-To
- How to Batch Process Layers in QGIS with PyQGIS batch process layers pyqgis ⚙️ How-To
- How to Build a QGIS Processing Model and Run It from Python qgis processing model python ⚙️ How-To
- How to Write a Custom QGIS Processing Script Algorithm in Python qgis processing script algorithm ⚙️ How-To
- How to Style Layers and Export Map Layouts from PyQGIS qgis export layout python ⚙️ How-To
- How to Move Data Between QGIS and GeoPandas qgis geopandas data exchange ⚙️ How-To
- PyQGIS vs GeoPandas: Which to Use for GIS Automation pyqgis vs geopandas 🧭 Concept
- How to Run Field Calculator Expressions from PyQGIS pyqgis field calculator expression ⚙️ How-To
- How to Add, Edit and Delete Features with PyQGIS pyqgis edit features ⚙️ How-To
- How to Build and Save a QGIS Project File from Python create qgis project python ⚙️ How-To
- How to Load and Write PostGIS Layers from PyQGIS pyqgis postgis layer ⚙️ How-To
- How to Automate QGIS from the Command Line with qgis_process qgis_process command line ⚙️ How-To
- How to Fix "ModuleNotFoundError: No module named 'qgis'" no module named qgis 🔧 Fix
- PyQGIS Script Crashes with a Segmentation Fault: How to Fix It pyqgis segmentation fault 🔧 Fix
- QGIS Processing "Algorithm Not Found" Error in Python: How to Fix It qgis algorithm not found 🔧 Fix
- PyQGIS Layer Fails to Load (isValid() Returns False): How to Fix It pyqgis layer is not valid 🔧 Fix
- qt.qpa.plugin: Could Not Load the Qt Platform Plugin xcb in PyQGIS qt platform plugin xcb error 🔧 Fix
- PyQGIS Processing Output Is Empty: How to Fix It pyqgis processing empty output 🔧 Fix
Topics this path covers
A path is a route; a topic is everything the site has on a subject. Open a topic to see the guides this path skips.