[MapServer-users] setting COLOR of SVG symbol ?

karsten karsten at terragis.net
Wed Mar 27 14:45:09 PDT 2024


Hi All,
 
for the first time trying to use svg symbols for a layer. The svgs I am
using can be styled in QGIS (have edited to allow). 
What is the status in MapServer should setting  the color via a style work ?


I had no luck setting the COLOR on the symbol so far

Here is my style
 
     STYLE
       SYMBOL "electric_point"
       SIZE 20
       COLOR 255 0 0
     END # STYLE  
 
symbol
 
SYMBOL
    NAME 'electric_point'
    TYPE svg
    image 'symbols/annotation/electric.svg'
END
 
So far this renders black symbols , any ideas how to fix this ?
 
Cheers
Karsten
 
Karsten Vennemann
 <http://www.terragis.net> www.terragis.net
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20240327/fe8ad9c8/attachment.htm>


More information about the MapServer-users mailing list