[Geoserver-devel] [JIRA] (GEOS-8187) Legend Preview not correctly interpreting SvgParameter

Alessio Fabiani created an issue

GeoServer / BugGEOS-8187

Legend Preview not correctly interpreting SvgParameter

Issue Type:

BugBug

Assignee:

Unassigned

Attachments:

image-2017-06-15-15-35-43-148.png

Created:

15/Jun/17 3:35 PM

Priority:

MediumMedium

Reporter:

Alessio Fabiani

With SLDs similar to this

<se:LineSymbolizer>
<se:Stroke>
<se:SvgParameter name=“stroke”>#f6fd16</se:SvgParameter>
<se:SvgParameter name=“stroke-width”>4</se:SvgParameter>
<se:SvgParameter name=“stroke-linejoin”>bevel</se:SvgParameter>
<se:SvgParameter name=“stroke-linecap”>square</se:SvgParameter>
<se:SvgParameter name=“stroke-dasharray”>4 2</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>

Legend Preview seems to ignore the parameters. The issue is easily replicable. Just replace SvgParameter with CssParameter and the Legend Preview prints a correct legend.

Add Comment

Add Comment

Get JIRA notifications on your phone! Download the JIRA Cloud app here.


This message was sent by Atlassian JIRA (v1000.1065.1#100048-sha1:d08fa2f)

Atlassian logo