stroke-linejoin = mitre does not work

Description

Using <se:SvgParameter name="stroke-linejoin">mitre</se:SvgParameter> has no effect and the line will be rendered like you use "bevel". "round" does work.

I'm using this polygon symbolizer:

<seolygonSymbolizer uom="http://www.opengeospatial.org/se/units/metre">
<se:Fill>
<se:SvgParameter name="fill">#ffffcc</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#ff9900</se:SvgParameter>
<se:SvgParameter name="stroke-width">5</se:SvgParameter>
<se:SvgParameter name="stroke-linejoin">mitre</se:SvgParameter>
</se:Stroke>
</seolygonSymbolizer>

Environment

macOS, OpenJDK8

Activity

Show:
Ian Turton
June 26, 2019, 11:24 AM

please add some images to demonstrate your problem.

Stefan Ziegler
June 26, 2019, 12:27 PM

I added the SLD and three images (round, mitre, bevel). Mitre and bevel mode delivers same output.

Andrea Aime
July 2, 2019, 9:16 AM

There was activity recently on this topic:

This one:

And PR: https://github.com/geotools/geotools/pull/2349

 

I don’t think it has been backported… Stefan, can you try out a master nightly build?

https://build.geoserver.org/geoserver/master/

Stefan Ziegler
July 2, 2019, 10:58 AM

Seems to be fixed in master nightly. See attached image “2.16.nightly.png”.

 

Assignee

Unassigned

Reporter

Stefan Ziegler

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure