Skip to content

Commit 9c6464e

Browse files
author
mhugent
committedJun 15, 2009
Split thresholds should be dependant on map unit type. For now use values that work in nearly all cases
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10931 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/core/qgsgeometry.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4795,8 +4795,8 @@ int QgsGeometry::splitLinearGeometry( GEOSGeometry *splitLine, QList<QgsGeometry
47954795
GEOSGeometry* intersectGeom = 0;
47964796

47974797
//hardcoded thresholds
4798-
double bufferDistance = 0.0001;
4799-
double intersectThreshold = 0.1;
4798+
double bufferDistance = 0.0000001;
4799+
double intersectThreshold = 0.00001;
48004800

48014801
for ( int i = 0; i < GEOSGetNumGeometries( mergedLines ); i++ )
48024802
{

0 commit comments

Comments
 (0)
Please sign in to comment.