Open dblodgett-usgs opened 4 years ago
If it is limited to 1 dataset, it should be made very, very clear and easy to combine multiple datasets.
I feel like the onus to make it easy (let's be real, it's not easy) to combine multiple datasets in one API would be on a future, non-core, Common extension.
The premise is that, until further work on the topic is completed, an OGC API instance is intended to be part of a system of OGC API instances, each for one dataset.
There could always be a higher-level catalog of datasets (each with an OGC API instance) but that is future work and doesn't belong in the core.
The problems are:
How about a compromise...
That makes some sense @rob-metalinkage but I want to draw this out a little more.
Thinking about this in terms of dataset distribution(s), we have to assume datasets will be distributed by non-OGC API mechanisms an OGC API(s).
Given this, setting up a world where an OGC API represents multiple datasets, we are presuming that:
From my perspective, both of those options are problematic. The first sets up a world where we expect people to catalog using OGC API when, likely, people already have a data distribution catalog that they want to use. The second sets up a requirement that the system of OGC APIs can both have an internal catalog and a way to hook into an external catalog -- sounds complicated.
It seems that if we treat an OGC API instance as one distribution of one dataset, we sidestep this issue all together. This leaves open the option for "datasets" that are actually catalogs of metadata -- like OGC API-Records.
This has been clarified in #140. I think what we are saying is that an OGC API IS or can be thought to be a single dataset bade up of many collections of data.
For consistency and clarity, I think we should add something to that affect as is included in Features.
We are agreed in 2020-11-23 that the core will not say anything about "dataset/datasets". We envision a superlanding-page that links to landing-pages. Both superlanding-page and landing-pages will depen on core and have the 3 common resources (landingpage, conformance and api description)
Action for Jerome - document the super landing page approach.
Updated definitions and DCAT citation to reference the DCAT Version 3 Editors Draft (dated June 15, 2021):
If we assert that a Web API is a DCAT Data Service, then a Web API MAY support multiple datasets. This means:
This would be consistent with the resolution of 2020-11-23.
Recomendation: capture the super landing page approach in the Guide, close this issue against collections.
If API Common supports multiple datasets per API, clients should be able to identify which API resources represent a dataset / a distribution.
The issues making (breaking) assumptions about the cardinality of "OGC API-endpoint" to "dataset" is growing.
The first statement in the overview of OGC API-Features requirements classes states:
With the following note:
I call out those definition urls rather than link to make the point that these are NOT OGC definitions but are rooted in the W3C DCAT definitions.
The current draft does not address this issue of datasets and distribution. Rather, everything references "resource" but "resource" is not defined formally in the document. (see issue #119 for more on resource)
Proposal
Section 8.1.1 should describe the relationship of an OGC API instance to the terms "dataset" and "distribution" rather than an abstract description of OGC API-resources.