QGIS Atlas – Making Map Book (Atlas) with Filter in QGIS

2d3datlasmap-bookqgis

In QGIS, I want to make a map book (Atlas) with only buildings but only one building showing up per page. So essentially a filter. I am not sure how to go about this.

Also, is it possible to have two map books on one layout? We have 2D and 3D buildings we would want to run this on. OR is there a way to sync the 2D and 3D views? This was not a capability in ESRI when it came to the layout only while viewing.

Can this be done in QGIS?

For some clarification see below:

enter image description here

I just want one polygon to show up that matches the "PAR_PIN" that is labelling each page.

Best Answer

Under Layer styling, you need to use rule-based styling and write the expression

$id=@atlas_featureid

enter image description here

It will look like this:

enter image description here

Now from the Atlas configuration,

  • Select the coverage layer
  • Select the building id field for the Page name
  • Enable Atlas from the button located in the main toolbar
  • Only the polygon(s) corresponding to the building id will be shown.

enter image description here

Here is the output:

enter image description here

Related Question