You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Mark element sould be a child of the se:Graphic element and not se:GraphicFill:
se:GraphicFill
se:Graphic
se:Mark
se:WellKnownNamex</se:WellKnownName>
se:Stroke
<se:SvgParameter name="stroke">#0000ff</se:SvgParameter>
</se:Stroke>
</se:Mark>
</se:Graphic>
</se:GraphicFill>
The error comes from file ./src/core/symbology-ng/qgssymbollayerv2utils.cpp QgsSymbolLayerV2Utils::fillToSld (around line 1523).
Attached is the diff to correct it. This has been tested locally and gives the expected result.
The patch is applied, thanks!
Please, the next time create a pull request on GitHub.
resolution was changed from to fixed
qgib
added
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Symbology
Related to vector layer symbology or renderers
labels
May 24, 2019
Author Name: Yewondwossen Assefa (Yewondwossen Assefa)
Original Redmine Issue: 8567
Affected QGIS version: master
Redmine category:symbology
This was initially reported on the mailing list:
The sld produced is invalid at the GraphicFill level:
se:GraphicFill
se:Graphic/
se:Mark
se:WellKnownNamex</se:WellKnownName>
se:Stroke
<se:SvgParameter name="stroke">#0000ff</se:SvgParameter>
</se:Stroke>
</se:Mark>
</se:GraphicFill>
The Mark element sould be a child of the se:Graphic element and not se:GraphicFill:
se:GraphicFill
se:Graphic
se:Mark
se:WellKnownNamex</se:WellKnownName>
se:Stroke
<se:SvgParameter name="stroke">#0000ff</se:SvgParameter>
</se:Stroke>
</se:Mark>
</se:Graphic>
</se:GraphicFill>
The error comes from file ./src/core/symbology-ng/qgssymbollayerv2utils.cpp QgsSymbolLayerV2Utils::fillToSld (around line 1523).
Attached is the diff to correct it. This has been tested locally and gives the expected result.
The text was updated successfully, but these errors were encountered: