[QGIS Commit] r10931 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Jun 15 10:49:51 EDT 2009


Author: mhugent
Date: 2009-06-15 10:49:51 -0400 (Mon, 15 Jun 2009)
New Revision: 10931

Modified:
   trunk/qgis/src/core/qgsgeometry.cpp
Log:
Split thresholds should be dependant on map unit type. For now use values that work in nearly all cases

Modified: trunk/qgis/src/core/qgsgeometry.cpp
===================================================================
--- trunk/qgis/src/core/qgsgeometry.cpp	2009-06-15 14:39:22 UTC (rev 10930)
+++ trunk/qgis/src/core/qgsgeometry.cpp	2009-06-15 14:49:51 UTC (rev 10931)
@@ -4795,8 +4795,8 @@
   GEOSGeometry* intersectGeom = 0;
 
   //hardcoded thresholds
-  double bufferDistance = 0.0001;
-  double intersectThreshold =  0.1;
+  double bufferDistance = 0.0000001;
+  double intersectThreshold =  0.00001;
 
   for ( int i = 0; i < GEOSGetNumGeometries( mergedLines ); i++ )
   {



More information about the QGIS-commit mailing list