Skip to content

Commit d11af26

Browse files
author
mhugent
committed
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@10931 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 6e0dc29 commit d11af26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/qgsgeometry.cpp

+2-2
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)