1

I would like to add SVG markers as an additional symbol to a polygon layer.

The polygon layer is rendered with a categorized symbol renderer with different fill-color, and I want to add SVG markers to the centroid of the polygon for certain categories.

So far I only found the option "SVG Fill", is there a way to add one SVG Maker to the centroid of the polygon?

2 Answers 2

3

Go to the properties of the polygon layer, in the symbol tab add another symbol via the green plus and switch the new symbology's style to centered fill. Then change the marker to a SVG-marker.

enter image description here

2

Another solution can be achieved with Right click on your original polygon layer -> Duplicate.

Then simply change the new layer stylization following @Erik's hints.

Solution

However, I suggest this method only for visualization purposes, e.g. when you are working with a Print Composer. Use it less for geoprocessing, since you can be easily confused about finding the primary layer and then fail with your data.

And regarding the "I want to add SVG markers to the centroid of the polygon for certain categories". I suggest applying the Rule-based symbology with Filtering those categories based on certain attributes (I believe you do have them).

Rule-based_Visualization

Your Answer

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

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