[mapserver-dev] SVG symbols with modifiable parameters

Tamas Szekeres szekerest at gmail.com
Thu Sep 5 05:28:46 PDT 2019


Hi,

I have a requirement to be able to modify some parameters of the SVG
symbols according to the parameters of the corresponding style in the
mapfile configuration. This would provide significant help to avoid
maintaining large number of SVG definitions with the same shape, but
different colors or line widths. Or one could also replace the truetype
symbols with the SVG variants if needed.

Would that be reasonable to implement something like this?

http://blog.sourcepole.ch/2011/06/30/svg-symbols-in-qgis-with-modifiable-colors/


I think we could easily modify the SVG definition in msPreloadSVGSymbol,
where the symbol definition would be loaded and modified in a local buffer
before passing that to the renderer.

Best regards,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20190905/c1fdce3e/attachment.html>


More information about the mapserver-dev mailing list