Commit 9bb33403 authored by Cecilia Nievas's avatar Cecilia Nievas
Browse files

Changed access to parts of Shapely MultiPolygon (Shapely deprecation)

parent f98a2261
Pipeline #39306 passed with stage
in 1 minute and 59 seconds
......@@ -61,7 +61,7 @@ class SpatialTools:
if in_geometry.geom_type == "Polygon":
geometries = [in_geometry]
elif in_geometry.geom_type == "MultiPolygon":
geometries = list(in_geometry)
geometries = list(in_geometry.geoms)
raise OSError("get_quadtiles_in_bbox_of_polygon: argument is not a valid geometry")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment