Skip to content
Browse files

fixed spellcheck

  • Loading branch information
luipir committed Feb 12, 2019
1 parent 67599c4 commit fede75f0316a4467d191dbc235588db187750ac7
@@ -399,7 +399,8 @@ void QgsContrastEnhancement::toSld( QDomDocument &doc, QDomElement &element ) co
case NoEnhancement:
QgsDebugMsgLevel( QStringLiteral( "No SLD1.0 convertion yet for stretch algorithm %1" ).arg( contrastEnhancementAlgorithmString( contrastEnhancementAlgorithm() ) ), 4 );
QString algName = contrastEnhancementAlgorithmString( contrastEnhancementAlgorithm() );
QgsDebugMsg( QObject::tr( "No SLD1.0 conversion yet for stretch algorithm %1" ).arg( algName ) );

@@ -433,7 +433,7 @@ void QgsMultiBandColorRenderer::toSld( QDomDocument &doc, QDomElement &element,
// TODO: the following jumped code is necessary to avoid to export channelSelection in
// case it's set as default value. The drawback is that it's necessary to calc band
// statistics that can be really slow depending on dataProvider and rastr localtion.
// this is the reason this part of code is commented and the channelSlection is
// this is the reason this part of code is commented and the channelSelection is
// always exported.
// before to export check if the band combination and contrast setting are the
@@ -1233,7 +1233,7 @@ bool QgsRasterLayer::writeSld( QDomNode &node, QDomDocument &doc, QString &error

if ( isSpatial() ) // TODO: does it make sense this control?
// store contraints
// store constraints
QDomElement constraintElem = doc.createElement( QStringLiteral( "sld:LayerFeatureConstraints" ) );
node.appendChild( constraintElem );

@@ -322,7 +322,7 @@ void QgsSingleBandGrayRenderer::toSld( QDomDocument &doc, QDomElement &element,
// min/max calculation again that can takes a lot for remote or big images
// contrast enhancement against a color map can be SLD simulated playing with ColorMapEntryies
// each ContrastEnhancementAlgorithm need a specfic management.
// each ContrastEnhancementAlgorithm need a specific management.
// set type of ColorMap ramp [ramp, intervals, values]
// basing on interpolation algorithm of the raster shader
QList< QPair< QString, QColor > > colorMapping( classes );
@@ -747,7 +747,7 @@ def testWriteSld(self):
vendorOptions = rasterSymbolizer.elementsByTagName('sld:VendorOption')
self.assertTrue(vendorOptions.size() == 0)

# set no defalt values and check exported sld
# set no default values and check exported sld

0 comments on commit fede75f

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