Skip to content

Commit

Permalink
fix: ewkt extraction for creodias and cop_dataspace (#868)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato authored and bgiraudo committed Oct 10, 2023
1 parent 2b9cb14 commit 47fdaaf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eodag/resources/providers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@
# The geographic extent of the product
geometry:
- null
- '{$.Footprint.`sub(/.*(SRID=[0-9]+;.*)/, \\1)`#from_ewkt}'
- '{$.Footprint.`sub(/.*(SRID=[0-9]+;[A-Z0-9 \(\),\.]+).*/, \\1)`#from_ewkt}'
# The url to download the product "as is" (literal or as a template to be completed either after the search result
# is obtained from the provider or during the eodag download phase)
downloadLink: 'https://zipper.creodias.eu/odata/v1/Products({uid})/$value'
Expand Down Expand Up @@ -3339,6 +3339,7 @@
search: !plugin
type: ODataV4Search
api_endpoint: 'https://catalogue.dataspace.copernicus.eu/odata/v1/Products'
timeout: 60
need_auth: false
dont_quote:
- '['
Expand Down Expand Up @@ -3454,7 +3455,7 @@
# The geographic extent of the product
geometry:
- null
- '{$.Footprint.`sub(/.*(SRID=[0-9]+;.*)/, \\1)`#from_ewkt}'
- '{$.Footprint.`sub(/.*(SRID=[0-9]+;[A-Z0-9 \(\),\.]+).*/, \\1)`#from_ewkt}'
# The url to download the product "as is" (literal or as a template to be completed either after the search result
# is obtained from the provider or during the eodag download phase)
downloadLink: 'https://catalogue.dataspace.copernicus.eu/odata/v1/Products({uid})/$value'
Expand Down

0 comments on commit 47fdaaf

Please sign in to comment.