Jump to content

How to modify color of imported SVG icons in QGIS


Recommended Posts

Hello friends!

I have plant symbols and would like to use them in QGIS. The problem is that these symbols don't allow you to edit the background colors.

https://drive.google.com/file/d/15n7TvSRx8Ha2Igm_rs13A8KVggsSghJs/view?usp=sharing

I followed jbrocha's solution posted on the GIS Stack Exchange forum:

https://gis.stackexchange.com/questions/45180/how-to-create-svg-symbols-that-have-modifiable-fill-color-stroke-color-and-stro

However, I would like to know if there is a more practical method to modify the colors of an SVG file imported into QGIS.

Thanks.

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

Hi, a simple solution : 

in the Layer Properties, add your SVG a symbol, then add a new Simple Marker (like a circle or a Square), put the SVG Marker on top of the Simple Marker. The size of the SVG and the Simple Marker has to be similar or the Simple Marker Square just a little bigger. It worked with your symbol as svg and a Square Marker. 

Edited by intertronic
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Disable-Adblock.png

 

If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist