[Geoserver-devel] [JIRA] (GEOS-7056) "stroke-dashoffset" CSS parameter does not works properly

Zsolt Magyar created an issue

GeoServer / BugGEOS-7056

“stroke-dashoffset” CSS parameter does not works properly

Issue Type:

BugBug

Affects Versions:

2.7.1

Assignee:

Unassigned

Attachments:

embankment_line_style.jpg

Components:

CSS, WMS

Created:

03/Jun/15 2:22 PM

Environment:

OpenSuse 13.2, Java (1.7.0_72), Apache Tomcat 7.0.55

Priority:

MediumMedium

Reporter:

Zsolt Magyar

“stroke-dashoffset” CSS parameter does not makes change in style in this LineSymbolizer SLD code below.

There is not able to create line style, where the mark linestrings alternates with different offset settings like in attached picture

<sld:LineSymbolizer uom=“http://www.opengeospatial.org/se/units/metre”>
<sld:Stroke>
<GraphicStroke>
<Graphic>
<Mark>
<WellKnownName>wkt://LINESTRING(0 0, 0 -0.5)</WellKnownName>
<Fill>
<CssParameter name=“fill”>#00ffff</CssParameter>
</Fill>
<Stroke>
<CssParameter name=“stroke”>#00ffff</CssParameter>
<sld:CssParameter name=“stroke-dasharray”>20 50</sld:CssParameter>
<sld:CssParameter name=“stroke-dashoffset”>10</sld:CssParameter>
<sld:CssParameter name=“stroke-linejoin”>round</sld:CssParameter>
<sld:CssParameter name=“stroke-linecap”>round</sld:CssParameter>
<sld:CssParameter name=“stroke-width”>1</sld:CssParameter>
</Stroke>
</Mark>
<Size>10</Size>
</Graphic>
</GraphicStroke>
</sld:Stroke>
</sld:LineSymbolizer>

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-05-041#65001-sha1:e07c9f6)

Atlassian logo