[polygons] Trying a slightly higher value for buffer() as suggested by this issue https://github.com/Toblerity/Shapely/issues/277
This commit is contained in:
@@ -92,7 +92,7 @@ class PolygonIndex(object):
|
||||
Coerce to valid polygon
|
||||
'''
|
||||
if not poly.is_valid:
|
||||
poly = poly.buffer(0)
|
||||
poly = poly.buffer(cls.simplify_tolerance)
|
||||
if not poly.is_valid:
|
||||
return None
|
||||
return poly
|
||||
|
||||
Reference in New Issue
Block a user