2

I have a delimited text layer of latitude and longitude points. I have put them on a map (see image). How do I change the color of the points depending on their "threat" value (see data table)? I was hoping to make the point color darker the higher the threat level is. Sorry, I am new to QGIS and I am not sure how to start going about doing this.

Map

Data format

1
  • 1
    I deleted it, sorry. – rohanaviella Nov 13 '20 at 17:44
4

Right click your layer, choose properties, go to symbology. Then choose "graduated" from the dropdown menu. Choose "Threat" as column. In case it is not recognized, you can use to_real() to turn the strings into a number. Then click "classify".

enter image description here

3
  • Where do you use the to_real() function? It's that in the attribute calculator? – djq Nov 15 '20 at 8:51
  • In the value column. Instead of "threat" use to_real("threat"). – MrXsquared Nov 15 '20 at 13:23
  • Thanks for clarifying! – djq Nov 17 '20 at 7:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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