Skip to content
Permalink
Browse files
Merge pull request #4334 from gabrimonfa/bug_16389_sld_stroke_color
fixes #16389 stroke color is not correctly exported in SLD
  • Loading branch information
elpaso committed Apr 5, 2017
2 parents 88c3b51 + cf7acdf commit cf2f431fccc796bc576943b2c8215ba22fe7d29b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgsfillsymbollayer.cpp
@@ -344,7 +344,7 @@ void QgsSimpleFillSymbolLayer::toSld( QDomDocument &doc, QDomElement &element, c
QDomElement strokeElem = doc.createElement( QStringLiteral( "se:Stroke" ) );
symbolizerElem.appendChild( strokeElem );
double strokeWidth = QgsSymbolLayerUtils::rescaleUom( mStrokeWidth, mStrokeWidthUnit, props );
QgsSymbolLayerUtils::lineToSld( doc, strokeElem, mStrokeStyle, strokeWidth, strokeWidth, &mPenJoinStyle );
QgsSymbolLayerUtils::lineToSld( doc, strokeElem, mStrokeStyle, mStrokeColor, strokeWidth, &mPenJoinStyle );
}

// <se:Displacement>

0 comments on commit cf2f431

Please sign in to comment.