From eca700d343d23812910c6949a747e143e4c806b2 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Wed, 28 Feb 2024 06:43:52 -0500 Subject: [PATCH] fix OACov based collection output --- pygeoapi/api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pygeoapi/api.py b/pygeoapi/api.py index d1674f21b..f521e789e 100644 --- a/pygeoapi/api.py +++ b/pygeoapi/api.py @@ -1231,12 +1231,13 @@ def describe_collections(self, request: Union[APIRequest, Any], else: collection['crs'] = [p.crs] collection['extent']['spatial'] = { - 'bbox': [ + 'bbox': [[ p._coverage_properties['bbox'][0], p._coverage_properties['bbox'][1], p._coverage_properties['bbox'][2], p._coverage_properties['bbox'][3] - ], + ]], + 'crs': p.crs, 'grid': [{ 'cellsCount': p._coverage_properties['width'], 'resolution': p._coverage_properties['resx']