Skip to content

Commit a4756e4

Browse files
authored
Merge pull request #178 from xylar/fix_shapely_geoms
Fix deprecation warning in MOC aggregator
2 parents 051553c + 01bfee5 commit a4756e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geometric_features/aggregation/ocean/moc_basins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def _remove_small_polygons(fc, minArea):
107107
else:
108108
# a MultiPolygon
109109
outPolygons = []
110-
for polygon in featureShape:
110+
for polygon in featureShape.geoms:
111111
if polygon.area > minArea:
112112
outPolygons.append(polygon)
113113
else:

0 commit comments

Comments
 (0)