-
Notifications
You must be signed in to change notification settings - Fork 27
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
Distinguishing links to STAC / OGC API - Records? #276
Comments
@m-mohr that did not occur to me but now that you mention it, it might be a good idea. I was thinking of defining specific MIME types for each of the OARec file types ...
I think that would help the link issue ... no? |
Yes, that would be a good solution, indeed. |
@m-mohr OK ... I'll create a PR to add these MIME types |
@pvretano There's a relevant line of comments in the corresponding STAC issue, which you might want to consider: Maybe something like |
@m-mohr yeah, I realized that about the record media type last night when I was thinking about this some more. |
Do we need a way to distinguish links to STAC and OGC API - Records somehow?
A link to a STAC JSON file with relation type child looks exactly like a link to OGC API - Records, although they are not fully compatible. They both would look as follows:
I could see a world where STAC and Record JSON files will be mixed in one catalog (actually, I'm currently working on a project that would benefit from it).
The only way I could distinguish them right now consistently, is probably to load the files and check whether
stac_version
is present (STAC) or not (=> likely Records, but could also be something else).Thoughts?
The text was updated successfully, but these errors were encountered: