-
Notifications
You must be signed in to change notification settings - Fork 13
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
Field Selection: Reconsider support for field index,*
for all other fields
#188
Comments
+1 When properties are defined in an object (dictionary/map), there is no guaranteed ordering. If properties are used, they should not imply any form of ordering. Each item to include in the result should be listed (or excluded) explicitly. |
This is what the
There's also the permission to not return all bands by default, so One potential way to indicate this would be by only specifying an |
Good to know. I was not aware of this property. My personal take on this is that, ideally,
Which parameter (if any) controls/exposes this behavior? Can it be set for distinct collections? |
The
It would be a server-side collection-specific decision for when |
Hold on, I'm confused. I mean, if the proposal is to drop |
That is the proposal. The Note that we're also proposing |
+1 on removing the wildcard * - see also opengeospatial/ogcapi-features#944 By the way, STAC API has something similar which we could align to: https://github.com/stac-api-extensions/fields |
SWG 2024-12-04:
|
@fmigneault Regarding |
I get the idea, but it sounds like a bad interface design. For example, if you have An exclude query should really just remove properties without side effects. If the listed properties are already omitted, then it's a no-op. I would expect |
Currently, the
properties=
parameter requires support for numeric indices and for*
with special meaning of "all other fields".Perhaps we should reconsider this to make things simpler to implement, and to better align with other OGC APIs.
(e.g., Features - Part 6: property selection).
opengeospatial/ogcapi-features#931
Consider a negative
exclude-properties
as for Features (see opengeospatial/ogcapi-features#16 (comment) opengeospatial/ogcapi-features#738 (comment)), which would be mutually exclusive withproperties=
.Also clarify the ability to not return all fields by default.
The text was updated successfully, but these errors were encountered: