7

I am working with a line shapefile that represents the road network of a city. I used a graduated symbology to draw each roads depending on their attribute value.

Now, I want to get the outer glow of each lines for visualisation purposes. Going to Symbology > symbol > effect only allows me to add a outer glow effect to the whole network at one with a definite color. I, however, would like to have the glow color depending on the line it is linked to.

Here's an example in case I was not clear enough:

This is the network colored depending on the roads attributes values:

And this is what I get when I add the outer glow effect to it which is not what I am looking for:

What I want is for the red roads glow to be red, for the blue ones to be blue, for the green ones to be also green etc.

Is there a way of doing so? I have been looking for a while and didn't come across any answers yet.

6
  • Apply the graduation again, then it should work. I tried it this way round (first blurring, then graduation).
    – Erik
    Dec 17, 2019 at 13:20
  • It's unfortunately not working for me. What version of QGIS are you using?
    – I.M.
    Dec 17, 2019 at 13:24
  • 1
    Are you sure you're using Blur? Looks to me like you're using Outer Glow which indeed only allows to use one color / colorRamp. Dec 17, 2019 at 13:30
  • @I.M. QGIS 3.4.13
    – Erik
    Dec 17, 2019 at 13:34
  • 1
    For a stronger blur effect you may use several blur on top of each other....
    – J.R
    Dec 17, 2019 at 13:55

1 Answer 1

7

You have two choices

  • Solution 1: Geometry generator and ShapeBurst

Follow the accepted answer: QGIS 3 How to Create Glow on Layer with Gradient Symbology

  • Solution 2: Stack as many Blur effects as you need to get the desired result

Effect Stack

Effect Stack

Result

Result

1
  • I got what I wanted with the stacked blur effect, thank you.
    – I.M.
    Dec 17, 2019 at 14:22

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.