Feature request #11024
SLD "stroke-dasharray" should be always interpreted as a custom dash pattern.
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||19363|
When setting a style from an SLD file, a Stroke parameter
<se:SvgParameter name="stroke-dasharray">1 2</se:SvgParameter>
is interpreted by QGIS as a "dot line", resulting in unexpected and unwanted rendering. A more expected behaviour would be to interpret a "stroke-dasharray" always as a custom dash pattern.
Create an SLD file with a stroke style that defines the above "stroke-dasharray" parameter. Load the style from that file. The line type will be set as "dot line".