Feature request #11024

SLD "stroke-dasharray" should be always interpreted as a custom dash pattern.

Added by Hannes Keski-Kiikoinen almost 6 years ago. Updated about 3 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Symbology
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:19363

Description

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.

Reproduction:
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".

History

#1 Updated by Giovanni Manghi about 3 years ago

  • Easy fix? set to No

Also available in: Atom PDF