Skip to content
Permalink
Browse files

[Bugfix][Symbology] Fill to SLD does not export Stroke color

The commit 2f268d4 fixing the way SLD is exporting size, from mm to pixels. But in the case of exporting line to SLD the stroke color has not been preserved.
  • Loading branch information
rldhont authored and nyalldawson committed Nov 17, 2018
1 parent b2b7f54 commit 92ca8401d6fc0a607ab43ffce8ff7c38e34ba3fc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgsfillsymbollayerv2.cpp
@@ -353,7 +353,7 @@ void QgsSimpleFillSymbolLayerV2::toSld( QDomDocument &doc, QDomElement &element,
QDomElement strokeElem = doc.createElement( "se:Stroke" );
symbolizerElem.appendChild( strokeElem );
double borderWidth = QgsSymbolLayerV2Utils::rescaleUom( mBorderWidth, mBorderWidthUnit, props );
QgsSymbolLayerV2Utils::lineToSld( doc, strokeElem, mBorderStyle, borderWidth, borderWidth, &mPenJoinStyle );
QgsSymbolLayerV2Utils::lineToSld( doc, strokeElem, mBorderStyle, mBorderColor, borderWidth, &mPenJoinStyle );
}

// <se:Displacement>

0 comments on commit 92ca840

Please sign in to comment.
You can’t perform that action at this time.