How to limit display of features in other layers in a QGIS Atlas?

المشرف العام

Administrator
طاقم الإدارة
I'm trying to use the QGIS Atlas tools to build student 'scattermaps', ie. display the school and the students that attend that school, for 215 schools.

The schools layer is the coverage layer, and that is working fine, and is being driven by the SCHNUM (school number) value.

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 will switch the coverage layer to hidden and use the same technique to only display the current school)

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.

Thanks!



أكثر...
 
أعلى