[polygons] Don't call fix_polygon (force polygon validity) by default
This commit is contained in:
@@ -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']:
|
||||
|
||||
Reference in New Issue
Block a user