[polygons] Eliminating fix_polygon
This commit is contained in:
@@ -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']:
|
||||
|
||||
Reference in New Issue
Block a user