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

Support for STAC metadata #103

Open
fmigneault opened this issue Apr 23, 2020 · 0 comments
Open

Support for STAC metadata #103

fmigneault opened this issue Apr 23, 2020 · 0 comments
Assignees
Labels
project/DACCS Related to DACCS project (https://github.com/orgs/DACCS-Climate) project/OGC Related to OGC testbeds or relavant projects. triage/enhancement New feature or request triage/experimental Something related to experimental features and/or package version triage/feature New requested feature.

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented Apr 23, 2020

Description

The STAC format has been proposed to handle the differences of metadata/reference files formats across EO inputs. It should be considered as a supported format to simplify (or offer more leverage over) Application Package creation.

STAC allows handling the following issues (not necessarily exhaustive) :

  • different sensors that produce different output files (think for example LiDAR point cloud vs Optical imagery or Radar imagery)
  • satellite output of different formats and references (different bands, metadata, etc. for RS1, RS2, S1-S3, etc.)
  • specifying a list of interrelated images as an input (think for example of all files within a S2 .SAFE directory) - now we must enforce a ZIP to move them around all together

Concerns

  • When a docker container is executed for the AP, the files with common base directory (ex: all under the .SAFE), will have to be mounted under the same internal volume so that any relative mapping by GDAL still work.
  • No explicit mime-type (registered in IANA) yet exists for STAC.
    • We need to assume something like the following. This case will need to be handled in weaver.formats.
      • application/x-stac
      • application/stac+json
      • Item: application/geo+json; application=stac; profile=item
      • Catalog: application/json; application=stac; profile=catalog
      • Collection: application/json; application=stac; profile=collection
    • We don't want to assume any generic application/json as this could well be a valid input type that doesn't represent a STAC definition/schema.
    • Alternatively, an application/json could be allowed if the stac_version field is located in it.
  • When the EMS receives AOI/TOI/CollectionID inputs (which in turns produces OpenSearch requests), the results obtained will have to be parsed in order to formulate the appropriate STAC definition and forward them to the ADES.
  • https://github.com/opengeospatial/ogcapi-processes extensions (Part 3: Workflows & Chaining) are being considered to add support to collections, including STAC. Alignment with their developments and recommendations of EO Apps Best Practices must be considered.
  • Special handling will have to be accomplished to distinguish a JSON input object as STAC collection from other JSON structures used for Complex (file) and/or free-form OAS object with schema ([Feature] Support I/O schema field definition #245).

References

Specifications

Implementation

@fmigneault fmigneault added triage/enhancement New feature or request triage/feature New requested feature. triage/experimental Something related to experimental features and/or package version project/DACCS Related to DACCS project (https://github.com/orgs/DACCS-Climate) labels Apr 23, 2020
@fmigneault fmigneault added the project/OGC Related to OGC testbeds or relavant projects. label May 7, 2020
fmigneault added a commit that referenced this issue Mar 24, 2022
…t-Practices EO App Pkg conformance items (relates to #56, #103, #105, #294, #399)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project/DACCS Related to DACCS project (https://github.com/orgs/DACCS-Climate) project/OGC Related to OGC testbeds or relavant projects. triage/enhancement New feature or request triage/experimental Something related to experimental features and/or package version triage/feature New requested feature.
Projects
None yet
Development

No branches or pull requests

3 participants