Skip to content

Commit

Permalink
Split thresholds should be dependant on map unit type. For now use va…
Browse files Browse the repository at this point in the history
…lues that work in nearly all cases

git-svn-id: http://svn.osgeo.org/qgis/trunk@10931 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jun 15, 2009
1 parent 6e0dc29 commit d11af26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsgeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++ )
{
Expand Down

0 comments on commit d11af26

Please sign in to comment.