Skip to content

Commit

Permalink
Reduce precision for point on line test. Fixes bug #2224
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12595 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Dec 23, 2009
1 parent 2355aa8 commit 0d2607e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsgeometry.cpp
Expand Up @@ -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 )
{
Expand Down

0 comments on commit 0d2607e

Please sign in to comment.