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/qgis@12595 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Dec 23, 2009
1 parent e80b74e commit 4873227cbb29e2a0e29c63e12aeafbd3b933af11
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 4873227

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