Skip to content
Permalink
Browse files

Spelling

  • Loading branch information
nyalldawson committed Apr 15, 2019
1 parent ae302ff commit e2f7b911eeb36dac7dbb2f548c05b64283a2d9e7
@@ -1335,11 +1335,11 @@ void QgsCoordinateReferenceSystem::setMapUnits()
else if ( unitName.compare( QLatin1String( "US survey foot" ), Qt::CaseInsensitive ) == 0 ||
unitName.compare( QLatin1String( "foot" ), Qt::CaseInsensitive ) == 0 )
d->mMapUnits = QgsUnitTypes::DistanceFeet;
else if ( unitName.compare( QLatin1String( "kilometre" ), Qt::CaseInsensitive ) == 0 )
else if ( unitName.compare( QLatin1String( "kilometre" ), Qt::CaseInsensitive ) == 0 ) //#spellok
d->mMapUnits = QgsUnitTypes::DistanceKilometers;
else if ( unitName.compare( QLatin1String( "centimetre" ), Qt::CaseInsensitive ) == 0 )
else if ( unitName.compare( QLatin1String( "centimetre" ), Qt::CaseInsensitive ) == 0 ) //#spellok
d->mMapUnits = QgsUnitTypes::DistanceCentimeters;
else if ( unitName.compare( QLatin1String( "millimetre" ), Qt::CaseInsensitive ) == 0 )
else if ( unitName.compare( QLatin1String( "millimetre" ), Qt::CaseInsensitive ) == 0 ) //#spellok
d->mMapUnits = QgsUnitTypes::DistanceMillimeters;
else if ( unitName.compare( QLatin1String( "Statute mile" ), Qt::CaseInsensitive ) == 0 )
d->mMapUnits = QgsUnitTypes::DistanceMiles;
@@ -438,7 +438,7 @@ def __init__(self, interface):
dom, root = self.rendererToSld(self.raster_layer.renderer())
self.assertOpacity(root, '1.1')

# check gamma properties from [-100:0] streched to [0:1]
# check gamma properties from [-100:0] stretched to [0:1]
# and (0:100] stretche dto (1:100]
# dom, root = self.rendererToSld(rasterRenderer, {'contrast': '-100'})
# self.assertGamma(root, '0')

0 comments on commit e2f7b91

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