Skip to content

Commit

Permalink
fix #4170
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Aug 14, 2011
1 parent 4e9be6b commit b3996c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/GdalTools/tools/doExtractProj.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ):
Expand Down

0 comments on commit b3996c3

Please sign in to comment.