From 04f251c1cc6154e0a4a7c25bab2c653de542d5a9 Mon Sep 17 00:00:00 2001 From: Al Date: Sat, 16 Jan 2016 21:21:27 -0500 Subject: [PATCH] [polygons] Don't call fix_polygon (force polygon validity) by default --- 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 56b4c105..2cfe0f71 100644 --- a/scripts/geodata/polygons/index.py +++ b/scripts/geodata/polygons/index.py @@ -105,7 +105,7 @@ class PolygonIndex(object): if not coords or len(coords) < 3: return None poly = Polygon(coords) - return cls.fix_polygon(poly) + return poly def add_geojson_like_record(self, rec, include_only_properties=None): if not rec or not rec.get('geometry') or 'type' not in rec['geometry']: