[Qgis-user] Filter map layer based on report

Spencer Gardner spencergardner at gmail.com
Mon Jan 7 13:38:57 PST 2019


I'm using QGIS3 to create a report. One of my tasks is to display only
features in a map layer that match the current iterated feature in the
report. To be specific, my report body is set to iterate over a "stations"
layer and I have an layer of intersection points where an intersection
should only be displayed if it is associated the the current station (via
an attribute called "station_name").

With Atlas, this could be done by setting the atlas page name to
"station_name" from the stations layer and then setting symbology on the
intersections layer using
    "station_name" = @atlas_pagename.
Is there a comparable solution for a report? I don't see any relevant
variables.

Thanks,
Spencer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190107/d15576e3/attachment.html>


More information about the Qgis-user mailing list