Skip to content
Permalink
Browse files

fix #4170

  • Loading branch information
alexbruy committed Aug 14, 2011
1 parent 4e9be6b commit b3996c368b1b6c2e07608e44492bbdfaf4dfeae4
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/GdalTools/tools/doExtractProj.py
@@ -146,11 +146,11 @@ def extractProjection( filename, createPrj ):
# create wld file
wld = open( outFileName + '.wld', 'wt')
wld.write( "%0.8f\n" % geotransform[1] )
wld.write( "%0.8f\n" % geotransform[2] )
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] )
wld.write( "%0.8f\n" % geotransform[3] )
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.close()

class ExtractThread( QThread ):

0 comments on commit b3996c3

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