[polygons] Don't call fix_polygon (force polygon validity) by default

This commit is contained in:
Al
2016-01-16 21:21:27 -05:00
parent 19a5541a85
commit 04f251c1cc

View File

@@ -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']: