diff --git a/eodag/resources/stac.yml b/eodag/resources/stac.yml index d88950729..18e9ad860 100644 --- a/eodag/resources/stac.yml +++ b/eodag/resources/stac.yml @@ -165,7 +165,7 @@ items: item: stac_version: "{stac_version}" stac_extensions: - id: '$.product.properties.title' + id: '$.product.properties.id' bbox: - '{item[geometry].bounds[0]}' - '{item[geometry].bounds[1]}' diff --git a/eodag/rest/stac.py b/eodag/rest/stac.py index 1764ccd9f..de3f92299 100644 --- a/eodag/rest/stac.py +++ b/eodag/rest/stac.py @@ -310,7 +310,7 @@ def __get_item_list( # parse download link downloadlink_href = ( - f"{catalog['url']}/items/{product.properties['title']}/download" + f"{catalog['url']}/items/{product.properties['id']}/download" ) _dc_qs = product.properties.get("_dc_qs", None) url_parts = urlparse(downloadlink_href)