Hello,
I removed the sharp from the SLD and inserted it ("%23", not "#") in the GET
variable like below, it works well.
"[...]&env=stroke:%23FF0000"
Thank you!
Benjamin GUIBERT
Institut Géographique National
From: [email protected] [mailto:[email protected]] On Behalf Of
Andrea Aime
Sent: Saturday, December 03, 2011 6:21 PM
To: Benjamin GUIBERT
Cc: [email protected]
Subject: Re: [Geoserver-users] Parameter substitution in SLD
On Tue, Nov 22, 2011 at 1:43 PM, Benjamin GUIBERT <[email protected]>
wrote:
Hello Andrea,
It can't come from the URL because even the default value of stroke is
ignored (and even without GET variable). Syntax error aside, I don't see
where is the point.
Moreover, I have no problem with the fill, whereas it is exactly the same
syntax.
Ah, finally found some time to look into it.
Yes, I can confirm it's a bug, stroke css parameters are not parsed
according to the
mixed contents rules, the parser ignores the # and thus the resulting color
is not
valid.
I've just fixed it, next nightly should work as expected:
http://jira.codehaus.org/browse/GEOS-4889
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users