diff --git a/openeo/rest/datacube.py b/openeo/rest/datacube.py index 0a7e43186..6f114b369 100644 --- a/openeo/rest/datacube.py +++ b/openeo/rest/datacube.py @@ -190,7 +190,7 @@ def load_collection( valid_geojson_types = [ "Polygon", "MultiPolygon", "GeometryCollection", "FeatureCollection" ] - if spatial_extent and not isinstance(spatial_extent, dict): + if spatial_extent and not (isinstance(spatial_extent, dict) and spatial_extent.keys() & {"west", "east", "north", "south"}): spatial_extent = _get_geometry_argument(argument=spatial_extent,valid_geojson_types=valid_geojson_types,connection=connection) arguments = {