Hi, Another option is to add named styles to the layer and switch between them. And if you want, associate them with map themes for quick switching.
https://docs.qgis.org/3.4/en/docs/user_manual/introduction/general_tools.html#manage-custom-style Karl Magnus Jönsson | Gis-Utvecklare Geografisk information Miljö- och samhällsbyggnadsförvaltningen Kristianstads kommun Besöksadress: Västra Storgatan 12 Postadress: 291 80 KRISTIANSTAD Telefon: 044-135416 | Mobil: 0733-135416 E-post: [email protected]<mailto:[email protected]> www.kristianstad.se<http://www.kristianstad.se> Från: Qgis-user <[email protected]> För Alexandre Neto Skickat: den 7 januari 2020 08:55 Till: Patrick Dunford <[email protected]> Kopia: qgis-user ML <[email protected]> Ämne: Re: [Qgis-user] Applying multiple styles to the same layer Hi Patrick, I don't think that duplicating a layer is such a big problem. I only advice you to avoid editing the two layers at the same time. Another option is to use rule-based symbology, which allows you to set a rule (filter) for when the feature are drawn. If you create non exclusive filter, a feature can be drawn several times. https://docs.qgis.org/3.4/en/docs/user_manual/working_with_vector/vector_properties.html#rule-based-renderer Hope it helps, Alexandre Neto QGIS Support www.QCooperative.net<http://www.QCooperative.net> A terça, 7/01/2020, 04:29, Patrick Dunford <[email protected]<mailto:[email protected]>> escreveu: Good day to all. I have a Qgis project in which I would like to be able to have the same layer appear twice in the layer list so that I can apply different styling to it in each instance. At the moment I am not aware of how I might do this apart from adding the same layer to my project twice. The layers are local Geopackage files (.gpkg) and there is known the issue that Sqlite documentation does recommend against multiple connections to a dataset, especially over a network, as this is somewhat outside the design expectations of Sqlite. Is there any other way I can have two different styles applied to a layer? TIA _______________________________________________ Qgis-user mailing list [email protected]<mailto:[email protected]> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
