fix OACov based collection output (#1561)

This commit is contained in:
Tom Kralidis
2024-02-28 07:01:34 -05:00
committed by GitHub
parent f4c2ff970f
commit 78c6e953bc
+3 -2
View File
@@ -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']