Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: stac providers TDE-623 #348

Merged
merged 3 commits into from
Feb 13, 2023
Merged

feat!: stac providers TDE-623 #348

merged 3 commits into from
Feb 13, 2023

Conversation

paulfouquet
Copy link
Collaborator

@paulfouquet paulfouquet commented Feb 9, 2023

Description

Add STAC providers in the collection.json. (https://github.com/radiantearth/stac-spec/blob/fd8fb4e3cf0b6c4a0fe74822accbc1725a92f92a/collection-spec/json-schema/collection.json#L71)
⚠️ linz/topo-workflows#97 to handle the two new arguments --producer and --licensor + a list of providers.

Limitations

  • name and roles attributes only
  • no duplication check (on name or role) - only for Toitū Te Whenua Land Information New Zealand when added at the collection object construction. That is something that would need to be taken into account if a company can be both producer and licensor.
  • no control on the provider name passed. They will be defined and not modifiable in the standardising Argo Workflows WorkflowTemplate

Tests output

{"type": "Collection", "stac_version": "1.0.0", "id": "01GRVW5GGTZM9BHXHFV7M24AMV", "title": "test", "description": "test", "license": "CC-BY-4.0", "links": [{"rel": "self", "href": "./collection.json", "type": "application/json"}, {"rel": "item", "href": "./BX24_500_031041.json", "type": "application/json"}, {"rel": "item", "href": "./BX24_500_041051.json", "type": "application/json"}, {"rel": "item", "href": "./BX24_500_041071.json", "type": "application/json"}, {"rel": "item", "href": "./BX24_500_031071.json", "type": "application/json"}, {"rel": "item", "href": "./BX24_500_031061.json", "type": "application/json"}, {"rel": "item", "href": "./BX24_500_041061.json", "type": "application/json"}, {"rel": "item", "href": "./BX24_500_031051.json", "type": "application/json"}, {"rel": "item", "href": "./BX24_500_041041.json", "type": "application/json"}], "providers": [{"name": "Aerial Surveys", "roles": ["producer"]}, {"name": "Toitū Te Whenua Land Information New Zealand", "roles": ["licensor", "host", "processor"]}], "extent": {"spatial": {"bbox": [[172.6728818, -43.6047872, 172.7920561, -43.5396797]]}, "temporal": {"interval": [["2022-01-01T11:00:00Z", "2022-01-31T11:00:00Z"]]}}}

@paulfouquet paulfouquet marked this pull request as draft February 9, 2023 23:04
@paulfouquet paulfouquet marked this pull request as ready for review February 10, 2023 03:24
@kodiakhq kodiakhq bot merged commit 9bc71a4 into master Feb 13, 2023
@kodiakhq kodiakhq bot deleted the feat/stac-providers-tde-623 branch February 13, 2023 19:42
@github-actions github-actions bot mentioned this pull request Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants