[QGIS Commit] r12595 - trunk/qgis/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Dec 23 08:54:29 EST 2009
Author: mhugent
Date: 2009-12-23 08:54:29 -0500 (Wed, 23 Dec 2009)
New Revision: 12595
Modified:
trunk/qgis/src/core/qgsgeometry.cpp
Log:
Reduce precision for point on line test. Fixes bug #2224
Modified: trunk/qgis/src/core/qgsgeometry.cpp
===================================================================
--- trunk/qgis/src/core/qgsgeometry.cpp 2009-12-23 13:32:58 UTC (rev 12594)
+++ trunk/qgis/src/core/qgsgeometry.cpp 2009-12-23 13:54:29 UTC (rev 12595)
@@ -5553,7 +5553,7 @@
return -1;
}
- double bufferDistance = 0.0000001;
+ double bufferDistance = 0.000001;
GEOSGeometry* lineBuffer = GEOSBuffer( line, bufferDistance, 8 );
if ( !lineBuffer )
{
More information about the QGIS-commit
mailing list