2

I am trying to print out a network map using black/white hatching patterns, similar to Black/white hatching pattern fills in QGis but for Lines. Is there some trick I can use?

2 Answers 2

7

to achieve this result:

enter image description here

  • Open layer properties (right click on layer > properties)

  • Go to the tab Symbology

And set properties to folowing:

enter image description here

6

If you want to create a hatched line with a border you need to layer 3 linestyles (you can add them with the green "+" button). Your first (bottom) layer must be a simple black continuous line, set to a certain width (let's say 5).enter image description here

If your lines have bends in them, be sure to set the connection-style to round (apologies, I do not know the correct English terms).

Your second layer needs to be a white continuous line that is placed on top of the black line to create the illusion of a black bordered line. This second layer needs to be a little narrower than the black one (4,25 for example).enter image description here

Your third and top layer is the hatched pattern. For this you need to pick a simple vertical line symbol and give it an angle and also make sure the width reaches the "borders". enter image description here With this grouped line symbol you can change the line width of the whole thing, no need to change each layer individually.

1
  • thanks, I came up with something similar, but did not manage to set the rotation (relative to direction of the line segment) properly - absolute rotation does not work well when the line segment is in the same direction
    – prusswan
    Apr 22, 2019 at 2:28

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.