-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
enhance support for limits (RFC5) #1856
Comments
@Youssef-Harby @tomkralidis bringing part of the conversation about "unlimited" defaultitems configuration in pygeoapi. Given the relative heterogeneity of providers, I wonder if it possible to realistically implement that on a provider level. At least I wonder if the most effective implementation would leverage the Is there a way to do this without consistently making two queries on a provider, first effectively getting |
Interestingly, if we changed https://github.com/geopython/pygeoapi/blob/master/pygeoapi/util.py#L147 to if '.' in value or 'inf' in value: # float? you could get pygeoapi to cast the configured defaultlimit to pythonic infinity, and it works for at least some of the providers. At the moment this is only possible if you set this as an environment variable, but its not that far off. limits:
default_items: ${PYGEOAPI_SERVER_DEAULT_LIMIT:-inf} |
Provide enhanced limit handling implementation in support of better definition and control on data query limiting.
RFC5 can be found at https://pygeoapi.io/development/rfc/5.
The text was updated successfully, but these errors were encountered: