I'm working with QGIS 2.18
In a print composer I can filter the elements of a layer based on the attribute of the active element of an atlas. For example, show only the cities (points) of a state (polygons), when the state layer is the coverage layer of the atlas. I'm using rule-based symbolization, where both layers have a common attribute.
I would like to know if they can be filtered in the same way, but using geometry functions like the intersect. I would like to filter the elements of a layer, which intersect with the elements of the active element of the coverage layer of an atlas.
I'm trying with the intersects function, but I can not get the correct syntax.
Is it possible to make this query?