Sunday, 11 September 2016

symbology - How to display different SVG icon in the same layer in QGIS


I am working with a ponctual layer in QGIS 2.12.3 (Lyon). I have a determine a few points in my layer. Each point represents a different activity (ex : climbing, hiking, etc). In order to have a proper symbology, i have imported a few SVG icon.


At this time, i want each of my point to be represented by the corresponding activity. I am unable to do so. Could you help me figure it out?


Layer symbology example Here is an example of what i am looking for




  1. Each point with pointed with an arrow = Hiking

  2. Each point with a star = Rock climbing

  3. Each point = Kayaking



Answer



Assuming your few points contain an attribute describing its activity, you can use the Categorized or Rule-based style by going to:


Right-clicking your layer > Properties > Style


Then:




  • Change Single Symbol to one of the suggested styles (1)

  • Select the column containing your activity attributes (2)

  • Click the Classify button (3)

  • Double-click a symbol (4)

  • Select Simple marker (5)

  • Select SVG marker (6) and choose your icon:


Categorized style


No comments:

Post a Comment