3

I have a problem with line symbology, as you can see on the picture: enter image description here

In the "sytle creator" window, you can see that my semi-ring are turned inside my polygon. But on the map, they are outside.

Is there a problem? Or am I doing something wrong?

5
  • 4
    Rotation is set at 180°
    – gvanhavre
    Commented Aug 18, 2021 at 9:23
  • 2
    Change the symbol rotation to 0°.
    – Erik
    Commented Aug 18, 2021 at 9:23
  • 1
    It has nothing to do with rotation or not. If I set rotation to 0°, now it is correct on my map, but not in my legend! So if I need a layout, my legend will not match with the map?!?
    – katagena
    Commented Aug 18, 2021 at 10:27
  • For me, it seems more that polygons (boundry) make a mistake with the in and out!
    – katagena
    Commented Aug 18, 2021 at 10:33
  • 1
    I just make a test on a anthor computer, and it's OK!!! Did you have an idea what I have done on my computer, that the symbol is flipping???
    – katagena
    Commented Aug 18, 2021 at 10:40

1 Answer 1

9

The symbols angle follows the line direction. If the polygons were digitized in a clockwise direction, the 1/2 circle symbols would be inside. If digitized counter-clockwise, they are outside.

enter image description here

To fix this, you must fix the digitization direction. You can either do this on the polygons themselves, or just when styling them.

Before rendering the polygon boundaries, use a geometry generator to properly set the line directions, using the expression force_rhr($geometry)

enter image description here

1
  • 1
    PERFECT... it is exactly this! Thank you very much!!!
    – katagena
    Commented Aug 18, 2021 at 11:15

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.