QGIS – How to Access Report/Atlas Page from Feature in Layer

atlaspopupqgisreports

In QGIS 3.22. I've created an atlas layout from a polygon shapefile layer. What I'd like to do is be able to access the atlas page for a given feature without having to open the layout manager. Some possibilities of what this could look like:

  1. create an automatic popup of the atlas page upon clicking a feature; this would be great, but I do not think the Identify Features tool settings allows this (it always opens a form) and I do not know if there is another similar tool that could be set to pop up like this.

  2. create a field with a link to the feature page in the atlas; in this way, I could open the Identify Features form, scroll down to the right field, and click the link to open the atlas page. Seeing as the atlas is already connected dynamically to the map layout on a feature-by-feature basis, I suspect it is possible to link to a specific feature page, though I am not sure how.

  3. create a layer action that opens the feature page. This would also require a link between each feature and its page in the atlas.

  4. create a Layout Manager sidebar or box where the feature pages are visualized as you click the features. As far as I can tell, this manner of viewing layouts/reports is not currently possible.

If none of these solutions are possible, I suppose a workaround would simply be saving images of each page and having a field link to the image. This is not a desirable solution because it is not dynamic and would need to be updated constantly (and would be much more work to implement).

Best Answer

The identify tool could do what you expect in possibility number 1. It could open the atlas page you click on.

Step by step :

  1. Select the layer used as coverage layer
  2. Click on the identify tool
  3. Right-click on the feature you want to use for atlas. A menu will show up, click on the layer used for atlas and then it let you choose between Identify and Set as atlas feature for Atlas (as I have only one atlas layout for this layer and the name is "Atlas").

enter image description here

  1. Click on Set as Atlas Feature for Atlas. It will open your atlas Layout on with the feature you selected as atlas feature. If the layout is already opened it will change the feature selected for atlas.

enter image description here

Related Question