I would like to produce a series of maps in which each map contains the same layers, with each layer of a given type having the same styling from map to map, but the source of the half of the layers differs from map to map. To be concrete, the map layers would be
All the layers are vector layers. Layer 6 is a 3x3 grid of cells. I need to select the middle cell and extract just that cell to use as the extent for exporting the map. Unfortunately that cell does NOT have the same object ID (or any other field value) that is constant from map to map. Finally, I want to export the map, restricted to that middle cell, as a pdf.
The common source layers and styling can be stored in a template, so that part is easy. But how do I load the map specific layers from the correct source and style them?
I looked at the graphical modeler, but it doesn't seem to be designed for this sort of task. Is there another tool to look at, a way to do this in templates, or do I need to do this in Python?
Edit: I should have mentioned that the map specific layers are grouped together in zip files. This means one approach would be make one map pointing to a zip called something like the_map.zip, then create each new map by copying each zip file in turn over the_map.zip, opening the project, and picking the correct center cell.