-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
OGC API - Features queryables/returnables: Implement support for describing object attributes #1090
Comments
pygeoapi feature/record backend providers support a What is the state of |
Regarding the maturity of https://github.com/opengeospatial/ogcapi-features/tree/master/proposals/schemas and the text there dates from March 2021 and does not seem to mention the latest link relations and (recommended?) paths that were used in Testbed 17 and 18 tasks. However, there are at least 2 consistent implementations (ldproxy and GNOSIS Map Server), CubeWERX/MariaDB might be another. pygeoapi would make it 3 or 4, which in itself could help moving this forward :) There is an open question about whether the schema is specifically for Regarding schemas, there is also the cc @cportele @pvretano in case they could please provide additional details on the maturity of the Schemas status. |
As per RFC4, this Issue has been inactive for 90 days. In order to manage maintenance burden, it will be automatically closed in 7 days. |
As per RFC4, this Issue has been closed due to there being no activity for more than 90 days. |
Problem description
It is not currently possible to describe feature properties which are objects in queryables.
There is also no support currently for returnables schemas (specification work for this still in progress).
Solution
One possibility would be to support the current proposal of
/collections/{collectionId}/schemas/feature
(rel:http://www.opengis.net/def/rel/ogc/0.0/schema-item
) for feature item returnable schemas, where"type" : "object"
can be used to describe object properties.Queryables could also possibly support object types, though it is not clear what that would mean for CQL2 filter requests.
Additional context
This issue was raised in the context of Testbed 18 - Advanced SWIM filtering, interacting with the Skymantics Aviation service.
In https://aviationapi.skymantics.com/faa/collections/faa_flight_plans , several attributes present in the features are not described anywhere in the available schemas (because object properties are not supported) requiring client support to discover new properties on the fly.
These collections from ldproxy and GNOSIS Map Server demonstrate an implementation of the returnable schema capabilities:
https://t18.ldproxy.net/d100_fns/collections/notam
https://t18.ldproxy.net/d100_fns/collections/notam/schemas/feature?f=json
https://maps.gnosis.earth/ogcapi/collections/swim:d100_notam
https://maps.gnosis.earth/ogcapi/collections/swim:d100_notam/schemas/feature?f=json
The text was updated successfully, but these errors were encountered: