Users have complained about line join style.
There are getting bevelled corners when requesting miter.
I thought it was a problem with our sld. However did a bit of digging
and current geotools miter-limit of 1 seems a bit low.
It will automatically bevel a line-join even with 90 degree angle.
Java default is 10 according to docs
"default miterlimit value of 10.0f causes all angles less than
11 degrees to be trimmed.
This java default might have caused issues with 'spiky lines at some point' but 1 seems very conservative.
Trimming miters converts
the decoration of the line join to bevel."
Can we allow mitering of angles of 70 degrees and above?
stroke-miterlimit = miterLength/stroke-width = 1 /sin ( θ/2 )
1/sin((pi()/180 * 70)/2) = ~1.74
So roughly a miter limit of = 1.75.
pull request - https://github.com/geotools/geotools/pull/2349