We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b1b347 commit 771b192Copy full SHA for 771b192
geometric_features/aggregation/ocean/moc_basins.py
@@ -99,7 +99,7 @@ def _remove_small_polygons(fc, minArea):
99
fcOut.add_feature(copy.deepcopy(feature))
100
else:
101
featureShape = shapely.geometry.shape(geom)
102
- if featureShape.type == 'Polygon':
+ if featureShape.geom_type == 'Polygon':
103
if featureShape.area > minArea:
104
add = True
105
0 commit comments