8000 GitHub - Samweli/CustomSVG: Plugin to allow customization of SVG symbols in QGIS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Samweli/CustomSVG

 
 

Repository files navigation

What does this plugin do?

It creates a copy of an SVG file to allow customization of SVG symbol settings in QGIS.

How?

It modifies all SVGs in a folder by replacing the parameters contained in the path tags and re-saving the new SVGs in the format qgs_oldname.svg. The parameters taken into account are as follows:

  • fill: param (fill),
  • fill-opacity: param (fill-opacity),
  • stroke: param (outline),
  • stroke-opacity: param (outline-opacity),
  • stroke-width: param (outline-width).

Example

Before modification:

<path
    style="fill:none ; stroke:#000000 ; stroke-width:0.4"
/>

alt text

After modification:

<path
    style="fill:none ; stroke:param(outline) #000000 ; stroke-width:param(outline-width) 0.4"
/>

alt text

About

Plugin to allow customization of SVG symbols in QGIS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0