From 477300c06146ba195fac22a2a95cee08ce2935f2 Mon Sep 17 00:00:00 2001 From: Al Date: Sun, 1 Nov 2015 03:12:58 -0500 Subject: [PATCH] [polygons] Eliminating fix_polygon --- scripts/geodata/polygons/index.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/geodata/polygons/index.py b/scripts/geodata/polygons/index.py index 1df9c074..26a87a10 100644 --- a/scripts/geodata/polygons/index.py +++ b/scripts/geodata/polygons/index.py @@ -104,8 +104,7 @@ class PolygonIndex(object): ''' if not coords or len(coords) < 3: return None - poly = Polygon(coords) - return cls.fix_polygon(poly) + return Polygon(coords) 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']: