[QGIS Commit] r9206 - trunk/qgis/src/plugins/interpolation

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Aug 29 08:30:38 EDT 2008


Author: mhugent
Date: 2008-08-29 08:30:37 -0400 (Fri, 29 Aug 2008)
New Revision: 9206

Modified:
   trunk/qgis/src/plugins/interpolation/qgsgridfilewriter.cpp
Log:
Better precision when saving interpolation results to grid

Modified: trunk/qgis/src/plugins/interpolation/qgsgridfilewriter.cpp
===================================================================
--- trunk/qgis/src/plugins/interpolation/qgsgridfilewriter.cpp	2008-08-28 22:22:48 UTC (rev 9205)
+++ trunk/qgis/src/plugins/interpolation/qgsgridfilewriter.cpp	2008-08-29 12:30:37 UTC (rev 9206)
@@ -52,6 +52,7 @@
   }
 
   QTextStream outStream( &outputFile );
+  outStream.setRealNumberPrecision(8);
   writeHeader( outStream );
 
   double currentYValue = mInterpolationExtent.yMax();



More information about the QGIS-commit mailing list