diff --git a/pygeoapi/api/environmental_data_retrieval.py b/pygeoapi/api/environmental_data_retrieval.py index cfdd2fc63b..75c6cefbdc 100644 --- a/pygeoapi/api/environmental_data_retrieval.py +++ b/pygeoapi/api/environmental_data_retrieval.py @@ -400,6 +400,12 @@ def get_collection_edr_query( within = request.params.get("within") within_units = request.params.get("within-units") + corridor_width = corridor_height = None + if query_type == "corridor": + LOGGER.debug("Processing corridor specific parameters") + corridor_width = request.params.get("corridor-width") + corridor_height = request.params.get("corridor-height") + LOGGER.debug("Processing z parameter") z = request.params.get("z") @@ -449,6 +455,8 @@ def get_collection_edr_query( bbox=bbox, within=within, within_units=within_units, + corridor_width=corridor_width, + corridor_height=corridor_height, limit=limit, location_id=location_id, )