-
Notifications
You must be signed in to change notification settings - Fork 14
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
itemType default #107
Comments
IMHO, OGC API common should not define "items"; it should define only "collections" (see #110). If there is no "items" it makes no sense to define a property itemType that applies to a thing that does not exist. itemType should be removed from "commons" |
I see this a bit differently. The Collection and Item(s) resource types are strongly connected. If you have a collection, there are items (by definition). Whether the items are made available via the API is another topic. I.e., I agree that the Items resource type defined in 9.2.3 (if it is not removed) does not belong into the same requirements class as the Collection(s) resource types, at least in Common. |
I think we've determined that a collection doesn't have to have an items distribution but I also see an argument to keep items in common (so records can use it directly for example) unless items will always be an extension of features core? |
I suggest that:
|
On the working branch - |
If |
@cportele Your original point was valid. By defining the default for itemType we place an unnecessary constraint on the API standards which build on Common. We have fixed that. The broader question is how does Common and the extending standards fit together? I think that is the topic of another issue which I will create shortly. We can address itemType defaults there. Also, I will attempt to identify and link into that issue all previous issues that contain relevant discussions. Don't want to loose those perspectives. |
See opengeospatial/ogcapi-features#539 |
Please change: |
@joanma747 Change applied. |
Recommendation 2 still refers to the /items path. Make sure that all necessary changes have been made. |
Performed general scrub for consistent use of item and items. |
June 26, 2021 - close - NOTUC |
This issue has been created as part of the public review and is based on document 19-072. See in particular section 9.2.2.
If the default of "itemType" is "unknown", Features can not extend Common Collections as the default is "feature" in Features (for compatibility reasons).
The text was updated successfully, but these errors were encountered: