[Qgis-user] Print Composer Filter

Karl Magnus Jönsson Karl-Magnus.Jonsson at kristianstad.se
Tue May 28 23:00:02 PDT 2019


Hi,
Good it worked. Posting it to the list as well.

/Karl-Magnus Jönsson

29 maj 2019 kl. 00:05 skrev Xan Vieiro <gallaecia6 at gmail.com<mailto:gallaecia6 at gmail.com>>:


Hi Karl,

your recipe works fine. Many thanks for the hint!

It will be great if there were a feature filter in the map element at print composer, so map themes could be reduced.


Kind regards,


Xan V.

El mar., 28 may. 2019 a las 11:46, Karl Magnus Jönsson (<Karl-Magnus.Jonsson at kristianstad.se<mailto:Karl-Magnus.Jonsson at kristianstad.se>>) escribió:
Ok. One option is to create a rule based style with a filter for the layer. Then add the style as a named style: In the layers symbology tab -> Style button -> Add… and name it e.g. print style. Then make sure all layers are visible and looks like you want in the layout. Add a map theme e.g print theme and associate the map in the layout with this map theme. Then you can change the style in main window as you wish, alter to default style for the layer and remove the rule based styling, make more named styles and map themes for different purposes.

Regards
Karl-Magnus Jönsson

Från: Xan Vieiro [mailto:gallaecia6 at gmail.com<mailto:gallaecia6 at gmail.com>]
Skickat: den 28 maj 2019 11:15
Till: Karl Magnus Jönsson
Ämne: Re: [Qgis-user] Print Composer Filter

Hi Karl,
Hi!
How do you mean? You do the filtering in the layer properties in the QGIS main window.
No, I don't. I just want to keep the whole layer at main window and doing filtering directly at print composer.

For atlas there are some more variables or functions available when doing this.

Karl-Magnus Jönsson

Regards,

Xan V.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190529/f43a47b2/attachment.html>


More information about the Qgis-user mailing list