[Qgis-developer] Using SVG symbol with modifiable color-widths

aperi2007 aperi2007 at gmail.com
Sat Jul 9 12:58:11 EDT 2011


Hi,
I'm try-ing the option to change the color/width of SVG symbol
following instruction in
http://www.sourcepole.ch/


After create the symbol with Inkscape I see the SVG has
this structure:

...
<path
style="fill:none;stroke:#000000;stroke-width:0.1;stroke-linecap:butt; 
stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
...

so I try to change like this:

<path style="fill:none;stroke:'param(outline) 
#000000';stroke-width:'param(stroke-width) 
0.1';stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
...

Unfortunately it don't seem work.

qgis don't render the symbol.

Because I'm not an SVG expert perhaps I do some odd error.

thx,

Andrea.


More information about the Qgis-developer mailing list