Hi, I'm trying to migrate SLDs with OnlineResource tags, to the SLD WellKnowName format. ######### <OnlineResource xlink:type="simple" xlink:href="http://localhost/resources/images/svg/symbols/${SVG_NAME}?color1=${STROKE_COLOR}&amp;color2=${FILL_COLOR} #########
The WellKnowName SVG is loaded through the link, but i'm not able to send those parameters (color1 and color2). For example, i have an image SVG with 3 circles, and 2 are filled with color1, and 1 is filled with color2: ######### <svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" height="100" width="100" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> <g fill-rule="evenodd"> <circle cx="50" cy="50" r="45.559" fill="param(color1)"/> <circle cx="50" cy="50" r="41.492" fill="param(color2)"/> <circle cx="50" cy="50" r="25.763" fill="param(color1)"/> </g> </svg> ######### Can i send this "param(color1)" using the WellKnowName format? Something like this.. changing the CssParameter name to "color1": ######### <Mark> <WellKnownName>http://localhost/resources/images/svg/symbols/${SVG_NAME}</WellKnownName> <Fill> <CssParameter name="color1"> <ogc:PropertyName>FILL_COLOR</ogc:PropertyName> </CssParameter> </Fill> ######### There is a another way to send parameters like the OnlineResource, instead of using CssParameter? Thank you Tiago Vieira -- Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users