Bug report #15481

SVG symbol export adds invalid stroke parameters

Added by Andrea Aime about 7 years ago. Updated over 4 years ago.

Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23405


Exporting a SVG based symbol results in invalid SLD, as follow:

                    <se:OnlineResource xlink:type="simple" xlink:href="transport/amenity=airport.svg"/>
                  <se:SvgParameter name="stroke">#000000</se:SvgParameter>
                  <se:SvgParameter name="stroke-width">4</se:SvgParameter>

The SvgParameters are not part of the Graphic nor ExternalGraphic, it's simply not possible to setup a stroke color for SVGs in SE, at most one can apply a color replacement (which could be used for the fill)


#1 Updated by Giovanni Manghi over 6 years ago

  • Easy fix? set to No
  • Regression? set to No

#2 Updated by Jürgen Fischer about 6 years ago

  • Category set to Unknown

#3 Updated by Giovanni Manghi over 4 years ago

  • Status changed from Open to Feedback

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

Also available in: Atom PDF