diff --git a/ckanext/odsh/helpers.py b/ckanext/odsh/helpers.py
index 6c942b7b9aef750303d9c0c3de8864641e689a6a..94c0e0c14bec1e353ebf1655316be7dc80cf6525 100644
--- a/ckanext/odsh/helpers.py
+++ b/ckanext/odsh/helpers.py
@@ -71,6 +71,9 @@ def compute_bounding_box(coords):
         return None
 
     coords = [c for sublist in coords for c in sublist]
+    if type(coords[0][0]) == list:
+        ## multipolygon
+        coords = [c for sublist in coords for c in sublist]
 
     minx = min(coords, key = lambda t: t[0])[0]
     maxx = max(coords, key = lambda t: t[0])[0]