Skip to content
Permalink
Browse files

Reduce precision for point on line test. Fixes bug #2224

git-svn-id: http://svn.osgeo.org/qgis/trunk@12595 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Dec 23, 2009
1 parent 2355aa8 commit 0d2607edeeccddb4410e47c8cc1222a146057bad
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsgeometry.cpp
@@ -5553,7 +5553,7 @@ int QgsGeometry::pointContainedInLine( const GEOSGeometry* point, const GEOSGeom
return -1;
}

double bufferDistance = 0.0000001;
double bufferDistance = 0.000001;
GEOSGeometry* lineBuffer = GEOSBuffer( line, bufferDistance, 8 );
if ( !lineBuffer )
{

0 comments on commit 0d2607e

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