Some more indentation issues

This commit is contained in:
Håvard Tveite 2018-11-01 23:41:38 +01:00 committed by GitHub
parent 681f73ae4e
commit 1fc2f7ab1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ class ExtractProjection(GdalAlgorithm):
def icon(self):
return QIcon(os.path.join(pluginPath, 'images', 'gdaltools',
'projection-export.png'))
'projection-export.png'))
def group(self):
return self.tr('Raster projections')
@ -125,12 +125,12 @@ class ExtractProjection(GdalAlgorithm):
wld.write('%0.8f\n' % geotransform[4])
wld.write('%0.8f\n' % geotransform[2])
wld.write('%0.8f\n' % geotransform[5])
wld.write('%0.8f\n' % (geotransform[0] +
0.5 * geotransform[1] +
0.5 * geotransform[2]))
wld.write('%0.8f\n' % (geotransform[3] +
0.5 * geotransform[4] +
0.5 * geotransform[5]))
wld.write('%0.8f\n' % (geotransform[0]
+ 0.5 * geotransform[1]
+ 0.5 * geotransform[2]))
wld.write('%0.8f\n' % (geotransform[3]
+ 0.5 * geotransform[4]
+ 0.5 * geotransform[5]))
results[self.WORLD_FILE] = outFileName + '.wld'
return results