I'm trying to use the QGIS Atlas tools to build student 'scattermaps', i.e. display the school and the students that attend that school, for 215 schools.
The schools layer is the coverage layer, and is being driven by the SCHNUM
(school number) value. This is working fine, that is it is driving the pages correctly.
How, though, can I display only features from other layers, in this case the student point layer, that match the corresponding SCHNUM
value for the current feature in the coverage layer?
I would also like to switch the coverage layer (schools) to 'hidden' and use the same technique to only display the current school from a duplicate schools layer.
There is a presentation available here that alludes to the use of a layer rendering rule setting using $atlasfeatureid
, but I can't figure out how that works.
I also found this bug tracker page that shows this working, but again, I can't get it to work on my data: