Skip to content
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

unique values #681

Closed
schmity opened this issue Mar 23, 2022 · 3 comments
Closed

unique values #681

schmity opened this issue Mar 23, 2022 · 3 comments
Labels
Future work support in an additional part of OGC API Features

Comments

@schmity
Copy link

schmity commented Mar 23, 2022

Hi,
in my organisation there is a need to get unique values for a specific property from an OGC API Features collection. Is this already supported in OGC API Features, part 3 or planned?

E.g. like so:
GET /collections/mycollection/items?property=myproperty&unique=true

Best,
Sebastian

@cportele
Copy link
Member

@schmity - There is no concrete plan for such a capability. It would have to be its own resource (e.g. /collections/mycollection/properties/myproperty) since the items resource returns a FeatureCollection, but this request would return an array of values or some kind of statistics for a property.

@cportele cportele added the Future work support in an additional part of OGC API Features label Apr 11, 2022
@schmity
Copy link
Author

schmity commented May 2, 2022

@cportele , thanks for the insight. Unique values for properties might also fit in the collection resource, /collections/mycollection/, being similar to spatial and temporal extent in a way.
The simple use case of our web developers (Masterportal) is to create a drop-down for filtering without having to parse the entire dataset. How would one adress that in a standardized way, if the dataset comes without code lists?

@schmity
Copy link
Author

schmity commented Dec 20, 2023

#799 (comment) provides a feasible approach for our use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Future work support in an additional part of OGC API Features
Projects
None yet
Development

No branches or pull requests

2 participants