2

I have a polygon that I am displaying with Line pattern fill.

The orientations of the pattern fill is set by an attribute in the file with the value of the angle rotation.

I am creating a print layout of the map and I introduced a rotation of the map to have a better display.

The pattern fill of the polygon file keeps the same absolute rotation value and does not rotate with the layout.

For the moment, the only solution that I am thinking of after trying a couple of options is to create another field with adjusted orientation value angle_layout which would not show correctly the lines on the canvas but would give me the correct orientation in the print layout.

Does anyone know if there is another solution to that problem?

Before rotation in print layout

enter image description here

After rotation in print layout

enter image description here

1 Answer 1

3

What you can do is use the Rotation field of the Map item (not the Map rotation in the main properties)

This will keep the Lines oriented properly but the whole frame is rotated. enter image description here

To frame it properly again:

  • expand the Map item size so that it covers the whole layout,
  • draw a Rectangle item where you want to frame the map,
  • go to the map Clipping settings and clip to item with the Rectangle as a mask

enter image description here enter image description here

1
  • 1
    Great! thank you for the answer, that is exactly what I was looking for...I never used the clipping setting before.
    – user131557
    Jan 18 at 12:41

Your Answer

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

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