Skip to content
Permalink
Browse files

Split thresholds should be dependant on map unit type. For now use va…

…lues that work in nearly all cases

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10931 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jun 15, 2009
1 parent c11d663 commit 9c6464e7feea33ca533204d4cd3760f93b384c46
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsgeometry.cpp
@@ -4795,8 +4795,8 @@ int QgsGeometry::splitLinearGeometry( GEOSGeometry *splitLine, QList<QgsGeometry
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++ )
{

0 comments on commit 9c6464e

Please sign in to comment.
You can’t perform that action at this time.