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/qgis@12595 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Dec 23, 2009
1 parent e80b74e commit 4873227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsgeometry.cpp
Original file line number Diff line number Diff line change
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 4873227

Please sign in to comment.