Sunday 6 January 2019

Fail to open SVG graphics as SVG Marker in QGIS


I have an SVG graphic which should be placed in certain locations on my map in QGIS 2.18.


Original_SVG_Marker


I can open it through Adobe Photoshop, Inkscape, Chrome, it even obeys Internet Explorer.


As for me, everything looks okay when I check my SVG element through Notepad++.



It is accessible via JSFiddle: SVG_Example


However, when I modify the point symbology through



Layer Properties > Style > Single Symbol > SVG Marker



I am getting a fully black icon, see the image below.


Any suggestions on how can I overcome this issue?


SVG_Result_in_QGIS



Answer



In my case deleting and (but not it's content) from the SVG graphics for instance with Notepad++ solved my issue. See the image below.



 #delete this tag










#delete this tag

Result_Example


References



No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...