Hi Alex, The problem is that the SVG specification to date does not contain any method for replacing values with parameters. The way Marco implemented it is inspired by the SVG parameters specification: http://www.w3.org/TR/SVGParam/ and http://www.w3.org/TR/SVGParamPrimer/
but since this is only a draft, none of the SVG editors implement this functionality so far - which is a pity - since the functionality is much needed. So unfortunately we can't find a solution that works fine in current SVG editors. The way is to draw the symbol in an SVG editor like Inkscape and then change the markup in a text editor. Andreas >> In addition, many single color SVG symbols should be changed to allow >> for easy change of stroke, fill and stroke-width - see >> http://www.sourcepole.com/svg-symbols-in-qgis-with-modifiable-colors >> > > That method is unfortunately incompatible with Inkscape. I tried to make > the edits to the xml in the Inkscape xml editor and every time I closed > the window it would get reverted back to clean xml. > > Also when I put in such edits to the xml via text editor they didn't > seem to work in QGIS 1.7.x > Maybe I'll give it another shot, but whatever the method turns out to be > it needs to be compatible with common svg editors. > > Thanks, > Alex > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
