2

I would like to know how to manage styling between different layer geometries, assuming that the data attribute columns remain the same.

The hint explained here:

Copy/pasting layer's label style only between layers using QGIS GUI

works only for the same geometry.

When I tried to do it between various geometries I had an error:

Cannot paste style: Cannot apply a style with symbology to layer with a different geometry type

which is a bug explained here:

https://issues.qgis.org/issues/12303

enter image description here

Is there any solution for copying the style between layers in different geometry in QGIS assuming, that the naming of data attribute tables is the same?

3
  • One link deals with label styles, another one with geometry styles. Which styles would you like to copy?
    – user30184
    Commented Dec 7, 2021 at 18:26
  • 2
    I make a test and it is possible to copy-paste label styles between point and polygon layers. I do not know how pasting geometry styles could work, for example if polygon has a fill color, what would it paint on line or point layers? Or what effect would point symbols have on lines and polygons?
    – user30184
    Commented Dec 7, 2021 at 18:31
  • It wasn't possible in my case. What should I do?
    – Geographos
    Commented Dec 8, 2021 at 10:33

1 Answer 1

3

Works for me with QGIS 3.18

Create two test layers with similarly named attribute for labels

enter image description here

Configure labels for one layer and copy styles

enter image description here

Paste styles to another layer

enter image description here

Labels appear

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.