Hi

 

I'm wondering if it's possible to control an SVG symbols fill and stroke
colours using parameters in an GeoServer SLD. 

 

http://www.w3.org/TR/2009/WD-SVGParamPrimer-20090616/#Introduction

 

I've modified the SVG to include references to parameters 

 

.. <rect fill="param(fill) #ff0000" stroke="param(outline) #00ff00" ...

 

And have tried passing the parameter in the SLD like 

 

<sld:OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink";
xlink:type="simple" xlink:href="symbology/rect.svg?fill=#3b9bc4"/> but
Geoserver seems to ignore the passed fill colour.

 

I'm not sure if I'm doing something wrong or whether Geoserver doesn't
support this.

 

Thanks

 

Tom

 

 

 

 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to