Home / Works / Weekly Map Build Model

Weekly Map Build Model

QGIS Processing Model
1+ day → ~15 min Weekly QGIS Modeler · PyQGIS

Overview

Produces all 30 maps per project site (11 map types) in one run. A 125-step model that chains the PyQGIS toolbox, legend labeling, style switching and layout export, at the core of the weekly reporting cycle that went from more than a day to about 15 minutes.

How it works

Project inputs enter at several stages; each map type is styled, labelled and printed.

Junior GeoPackagelayers Build database Merge layers,retain fields Join to build database,drop fields Export workingGeoPackage Swap project datasource; pause Apply map theme(canvas unlocked) Set layer styleper map type Relabel legend(legend labelling) Print layoutto image 30 maps per site(11 map types) Build file names Project site +workweek Destination folder Inputs Prepare data and project Repeat for each map type File names

InputStepDecision / optionData storeOutput

Details

About the code

Built for my department. The code stays with the company, so this page describes the tool only.