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

Extent metadata for the whole API #366

Open
PanierAvide opened this issue Jan 13, 2023 · 3 comments
Open

Extent metadata for the whole API #366

PanierAvide opened this issue Jan 13, 2023 · 3 comments

Comments

@PanierAvide
Copy link

Hello,

I'm currently working on a STAC API implementation for offering geolocated street pictures (docs).

I'm wondering what would be the best option regarding STAC API specification for a client to get the extent metadata (mainly spatial, but possibly temporal) of the whole data behind the API. What I thought of :

  • Setting it in landing (/ route) : doesn't fit in the Catalog definition
  • Setting it in collections (/collections route) : no more metadata seem allowed beyond collections and links
  • Setting it in all single collections : needs quite a lot of re-processing on client-side to have full extent, it would be better if done on server
  • Transform landing catalog into collection : doesn't look like it's permitted by specs ?

What are you thoughts on this ? Is there an existing way in specs to do this ? Do we need an extension for this ?

Best regards.

@philvarner
Copy link
Collaborator

I'd add extent to the Landing Page Catalog. It's not required by the Catalog definition, but you can always add whatever metadata you want on those objects, they're just not part of the spec standard.

We might want to consider adding extent on Catalog to the spec, too.

@m-mohr
Copy link
Collaborator

m-mohr commented Feb 6, 2023

I'd opt for the option that the landing page can also be a Collection. This was possible in the past and I also rarely used it, but then we broke that by adding the type field to Catalogs and Collections. So I'd opt to revert this change by allowing Collections as Landing Page.

@m-mohr
Copy link
Collaborator

m-mohr commented Apr 4, 2023

We discussed this today in the working session and think this needs another discussion in a broader group.

@m-mohr m-mohr reopened this Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants