diff --git a/wadl/lib/fence.py b/wadl/lib/fence.py index a22a9d0..d8b4f55 100644 --- a/wadl/lib/fence.py +++ b/wadl/lib/fence.py @@ -129,7 +129,7 @@ def findGeometries(self, placemark): self.getUTMpoly(placemark.geometry) if isinstance(placemark.geometry, geometry.MultiPolygon): # print("found MultiPolygon") - for poly in placemark.geometry: + for poly in placemark.geometry.geoms: self.getUTMpoly(poly.exterior) else: print(placemark.geometry, " object has no handler")