Skip to content

Commit

Permalink
Issue #195 add STAC collections conformance class
Browse files Browse the repository at this point in the history
related to #363
  • Loading branch information
soxofaan committed Jan 31, 2025
1 parent 0680c07 commit ef8b71b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions openeo_driver/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,9 @@ class OpenEoBackendImplementation:
"https://api.openeo.org/1.2.0",
# Support the "remote process definition" extension (originally known as the "remote-udp" extension)
"https://api.openeo.org/extensions/remote-process-definition/0.1.0",
# STAC API conformance classes
# "https://api.stacspec.org/v1.0.0/core", # TODO #363 can we claim this conformance class alread?
"https://api.stacspec.org/v1.0.0/collections",
]

def __init__(
Expand Down
3 changes: 2 additions & 1 deletion openeo_driver/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ def index():
"version": api_version, # Deprecated pre-0.4.0 API version field
"api_version": api_version, # API version field since 0.4.0
"backend_version": backend_version,
"stac_version": "0.9.0",
"stac_version": "0.9.0", # TODO #363 bump to 1.x.y?
"type": "Catalog",
"conformsTo": backend_implementation.conformance_classes(),
"id": service_id,
"title": title,
Expand Down

0 comments on commit ef8b71b

Please sign in to comment.