Skip to content

Commit d9a0103

Browse files
committed
Issue #195 add STAC collections conformance class
related to #363
1 parent c363239 commit d9a0103

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ and start a new "In Progress" section above it.
2121

2222
## In progress
2323

24+
- Add STAC collections conformance class ([#195](https://github.com/Open-EO/openeo-python-driver/issues/195))
2425

2526
## 0.125.0
2627

openeo_driver/backend.py

+3
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,9 @@ class OpenEoBackendImplementation:
770770
"https://api.openeo.org/1.2.0",
771771
# Support the "remote process definition" extension (originally known as the "remote-udp" extension)
772772
"https://api.openeo.org/extensions/remote-process-definition/0.1.0",
773+
# STAC API conformance classes
774+
# "https://api.stacspec.org/v1.0.0/core", # TODO #363 can we claim this conformance class already?
775+
"https://api.stacspec.org/v1.0.0/collections",
773776
]
774777

775778
def __init__(

openeo_driver/views.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ def index():
404404
"version": api_version, # Deprecated pre-0.4.0 API version field
405405
"api_version": api_version, # API version field since 0.4.0
406406
"backend_version": backend_version,
407-
"stac_version": "0.9.0",
407+
"stac_version": "0.9.0", # TODO #363 bump to 1.x.y?
408+
"type": "Catalog",
408409
"conformsTo": backend_implementation.conformance_classes(),
409410
"id": service_id,
410411
"title": title,

0 commit comments

Comments
 (0)