From 40d18aa7f67eeb980dd87be532d86d6c6d364309 Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 25 Nov 2015 17:10:50 -0500 Subject: [PATCH] [polygons/osm] Switching back to buffer(0). Still destroys many polygons, may need to look into another solution --- scripts/geodata/polygons/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/polygons/index.py b/scripts/geodata/polygons/index.py index 5d50d0f5..50fbae2d 100644 --- a/scripts/geodata/polygons/index.py +++ b/scripts/geodata/polygons/index.py @@ -92,7 +92,7 @@ class PolygonIndex(object): Coerce to valid polygon ''' if not poly.is_valid: - poly = poly.buffer(cls.simplify_tolerance) + poly = poly.buffer(0) if not poly.is_valid: return None return poly