SLD linecap is applied inside stroke-dash-array gap

Description

Not sure if this is a problem, but it may lead to unexpected behaviour

This SLD for example returns a straight line

1 2 3 4 5 6 7 8 <LineSymbolizer> <Stroke> <CssParameter name="stroke">#55aa00</CssParameter> <CssParameter name="stroke-width">5</CssParameter> <CssParameter name="stroke-linecap">round</CssParameter> <CssParameter name="stroke-dasharray">5 4</CssParameter> </Stroke> </LineSymbolizer>

This SLD shows the dash-array

1 2 3 4 5 6 7 <LineSymbolizer> <Stroke> <CssParameter name="stroke">#55aa00</CssParameter> <CssParameter name="stroke-width">5</CssParameter> <CssParameter name="stroke-dasharray">5 4</CssParameter> </Stroke> </LineSymbolizer>

(the linecaps added to the lines, fill the inner gap of the dash-array)

Environment

None

Status

Assignee

Unassigned

Reporter

Paul van Genuchten

Triage

None

Priority

Medium
Configure