Skip to content
Browse files

fixed spellcheck

  • Loading branch information
luipir committed Feb 1, 2019
1 parent 9871c6d commit d06406d0e8c746e43e80697657f13549c26c7fb4
@@ -400,7 +400,7 @@ void QgsContrastEnhancement::toSld( QDomDocument &doc, QDomElement &element ) co
QString algName = contrastEnhancementAlgorithmString( contrastEnhancementAlgorithm() );
QgsDebugMsg( QObject::tr( "No SLD1.0 convertion yet for stretch algorithm %1" ).arg( algName ) );
QgsDebugMsg( QObject::tr( "No SLD1.0 conversion yet for stretch algorithm %1" ).arg( algName ) );

@@ -430,7 +430,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
@@ -1297,7 +1297,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 );

@@ -324,7 +324,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 );
@@ -794,7 +794,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 d06406d

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