Specifying stroke-width with stroke-dasharray in an SLD adds pixels to the length of the dashes as well as the width
--------------------------------------------------------------------------------------------------------------------
Key: GEOS-580
URL: http://jira.codehaus.org/browse/GEOS-580
Project: GeoServer
Type: Bug
Components: WMS
Versions: 1.3.0
Reporter: Miles Jordan
Assigned to: Gabriel Roldán
Priority: Minor
When specifying the 'stroke-width' CssParameter with the 'stroke-dasharray' CssParameter in an SLD, if the stroke-width is more than one pixel, the _length_ of each dash that is drawn is extended by the amount of pixels specified in the stroke-width when only the width should be affected.
Hence the following would produce a LineSymbolizer with 6 pixel dash followed by a 2 pixel space, not a 4 pixel dash with a 4 pixel space, as it should be.
<CssParameter name="stroke-width">2.0</CssParameter>
<CssParameter name="stroke-dasharray">4.0 4.0</CssParameter>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira