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

Clarify consistency regarding presence of elements at /collections and /collections/{collectionId} #313

Open
jerstlouis opened this issue Jun 15, 2022 · 2 comments
Labels
Part 2 Issues to be resolved prior to TC vote Progress: solution merged

Comments

@jerstlouis
Copy link
Member

jerstlouis commented Jun 15, 2022

Clarify whether elements in /collections vs. in /collections/{collectionId} need to be consistent, but that an element being omitted from /collections but present /collections/{collectionId} still count as consistent.
This is different than Features where the interpretation is that if one is present at one location it needs to be in both.

@cmheazel cmheazel added the Part 2 Issues to be resolved prior to TC vote label Jun 15, 2022
@cmheazel
Copy link
Contributor

Removed part C from Requirement 8.
API Common Part 2 now does not say anything about consistency between /collections and /collections/{collectionId} responses. All that is required is that they both comply with the requirements in the http://www.opengis.net/spec/ogcapi-common-2/1.0/rm/collection Requirements Module. This allows a SWG to use simplified representations of the /collections/{collectionId} response in the /collections response where appropriate.

@jerstlouis
Copy link
Member Author

Actually what Features states in Requirement 19 B is:

The content of that response SHALL be consistent with the content for this feature collection in the /collections response.
That is, the values for id, title, description, extent and itemType SHALL be identical and links SHALL include all links included for this feature collection in the /collections response.

So the interpretation of Features seems to be exactly what I was suggesting above.

There's also no mention of access mechanism links in particular needing to be included at the /collections level in any of Maps, Tiles, DGGS or Coverages, which does mean that if this information is not included at /collections, clients will have to make separate requests to individual collections to understand which access mechanisms are supported for each.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Part 2 Issues to be resolved prior to TC vote Progress: solution merged
Projects
Development

No branches or pull requests

2 participants