The BBC Shared Data Unit wanted to generate a map image for each authority in the UK showing the state of flood defences in that area — so they turned to the mapping tool QGIS’s built-in Python functionality.
This repo contains files and tipsheets for learning how to generate and export dozens of maps in QGIS centred at different points, and how AI can help speed up the process.
This process is sometimes called parameterisation: generating multiple outputs based on a list of parameters (e.g. a list of lat-long locations).
The slides going through the process are here
You should have some basic knowledge of QGIS and be comfortable using Python or vibe coding.
You should have QGIS and Python installed on the computer and a free account with an AI tool such as ChatGPT, Gemini or Claude.
After using this repo you should be able to understand how Python works in QGIS and use AI to help generate, understand and adapt code
You will need the following files:
AIMS_Spatial_Flood_Defences_inc_standardised_attributes.shp.zip from the Spatial Information section of AIMS Spatial Flood Defences (inc. standardised attributes)Kuang Keng’s workshop on making a map publication-ready has some additional tips on customising your map further.
You can use the following files to practise the processes above, and expand them:
DownloadHistoric_Flood_Map.shp.zip is what you need to downloadDownloadFlood_Risk_Areas.shp.zip (click Show more if you can’t see it)