Bug report #6980

SLD Export dashes all lines

Added by Jonathan Moules almost 9 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Symbology
Affected QGIS version:1.8.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16085

Description

In a line layer, every single line that is a normal, undashed line is exported as:

<se:SvgParameter name="stroke-dasharray">5 2</se:SvgParameter>

When exporting via SLD. QML works fine. Which is of course dashed, even though it shouldn't be.
Lines that have dashes are exported properly as far as I can tell.

Test it against the topographic line QML file from here if you wish: https://issues.qgis.org/wiki/quantum-gis/OS_Styles (a couple are supposed to be dashed).

History

#1 Updated by Jonathan Moules almost 9 years ago

I stand corrected. It wrongly exports dashed lines too. Try the BoundaryLine QML file in the above link.

Four the six items in that file are exported as the same type of dash (the QGIS "default"), but they're all supposed to be different dashes.

#2 Updated by Giovanni Manghi almost 9 years ago

  • Status changed from Open to Feedback

Hi,

you should test qgis master as the SLD support have been improved a lot there.

#3 Updated by Jonathan Moules almost 9 years ago

Thanks, that sounds good, but unfortunately I'm in a corporate environment and currently sticking with stable works better for us (its what other users will have to use if we move them to it internally).

#4 Updated by Giovanni Manghi almost 9 years ago

Jonathan Moules wrote:

Thanks, that sounds good, but unfortunately I'm in a corporate environment and currently sticking with stable works better for us (its what other users will have to use if we move them to it internally).

if you use windows you can install qgis-master together with qgis 1.8 with absolutely no issues, or you can obviously try it on your personal pc.

#5 Updated by Jonathan Moules over 8 years ago

Sorry. I've now tried at least five times to install QGIS-master and it always fails/doesn't work. I can only run pre-packaged stable builds. As such I can't test this in master.

#6 Updated by Jonathan Moules over 8 years ago

  • Status changed from Feedback to Closed

This appears to be resolved in master.

Also available in: Atom PDF