mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Added precision in coordinates saved to points-file (again)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9359 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
5403746cce
commit
a46fabfd85
@ -351,8 +351,8 @@ bool QgsPointDialog::generateWorldFile()
|
|||||||
for ( unsigned int i = 0; i < mapCoords.size(); ++i )
|
for ( unsigned int i = 0; i < mapCoords.size(); ++i )
|
||||||
{
|
{
|
||||||
points << ( QString( "%1\t%2\t%3\t%4" ).
|
points << ( QString( "%1\t%2\t%3\t%4" ).
|
||||||
arg( mapCoords[i].x() ).arg( mapCoords[i].y(), 0, 'f', 15 ).
|
arg( mapCoords[i].x(), 0, 'f', 15 ).arg( mapCoords[i].y(), 0, 'f', 15 ).
|
||||||
arg( pixelCoords[i].x() ).arg( pixelCoords[i].y(), 0, 'f', 15 ) ) << endl;
|
arg( pixelCoords[i].x(), 0, 'f', 15 ).arg( pixelCoords[i].y(), 0, 'f', 15 ) ) << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user