Skip to content

Commit ef8b71b

Browse files
committed
Issue #195 add STAC collections conformance class
related to #363
1 parent 0680c07 commit ef8b71b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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 alread?
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)