-
Notifications
You must be signed in to change notification settings - Fork 87
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
WFS GetPropertyValue equivalent in OGC API Features #834
Comments
Not exactly the same a GetPropertyValue from WFS, but selecting only a subset of the properties is planned with the part 'Property Selection', currently a proposal. Example (GeoJSON, two properties, no geometry): Same as CSV: If the API supports schemas, then the value range can be determined from the schema (but this will often be the allowed values, not necessarily the existing values). Example: https://demo.ldproxy.net/strassen/collections/unfaelle/schema Note that this API implements the new Schema approach discussed in recent weeks (#740 (comment)). Part 3 specifies the queryables and that schema should also declare the value range of the queryable properties: https://demo.ldproxy.net/strassen/collections/unfaelle/queryables?f=json Does this help? |
Actually I interpreted this question a little differently ... my server can, instead of and get an array of values from each features in the collection for the requested property ... UFI in this case. I can also append a feature ID and get the value for the specific, requested feature: This is a little differnt then the property selection extension. The property selection extension generates a "feature" but only containing the requested properties. However, you still get a feature/ featureCollection in the response. What I implemented simply returns the request property values with as little infrastructure around them as possible. It's a subtle difference I guess. |
I think you are correct. The That said, the Property Selection extension is not that much different (in particular in encodings like CSV) and would also support multiple properties. |
Thank you for your answers, which are both useful and relevant. To illustrate this, we'd have something like:
However, I'm not sure this is relevant and for the CQL spatial predicate, the geometry of the |
Is there any plan to have an equivalent to the GetPropertyValue operation in the WFS standard? This could allow attributes to be selected at:
https://[...]/collections/{collectId}/items/properties={property1},{property2}?f=json
https://[...]/collections/{collectId}/items/properties={property1},{property2}/{featureId}?f=json
It would also be interesting to have the possibility to get a list of unique values of (maybe with exceptions or limits) these properties but maybe this is planned in Part 3?
The text was updated successfully, but these errors were encountered: