[Qgis-user] Applying multiple styles to the same layer

Alexandre Neto senhor.neto at gmail.com
Mon Jan 6 23:54:38 PST 2020


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

A terça, 7/01/2020, 04:29, Patrick Dunford <enzedrailmaps at gmail.com>
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
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200107/91ac5c5b/attachment.html>


More information about the Qgis-user mailing list