From 78c6e953bce12e32dc68f7cfdaf34d1cd2cf72ee Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Wed, 28 Feb 2024 07:01:34 -0500 Subject: [PATCH] fix OACov based collection output (#1561) --- pygeoapi/api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pygeoapi/api.py b/pygeoapi/api.py index d1674f2..f521e78 100644 --- a/pygeoapi/api.py +++ b/pygeoapi/api.py @@ -1231,12 +1231,13 @@ class API: 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']