Skip to content

Commit 4873227

Browse files
author
mhugent
committedDec 23, 2009
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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsgeometry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5553,7 +5553,7 @@ int QgsGeometry::pointContainedInLine( const GEOSGeometry* point, const GEOSGeom
55535553
return -1;
55545554
}
55555555

5556-
double bufferDistance = 0.0000001;
5556+
double bufferDistance = 0.000001;
55575557
GEOSGeometry* lineBuffer = GEOSBuffer( line, bufferDistance, 8 );
55585558
if ( !lineBuffer )
55595559
{

0 commit comments

Comments
 (0)
Please sign in to comment.