-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
Extra params fixes #1667 #1673
Extra params fixes #1667 #1673
Conversation
953d362
to
e347e0f
Compare
Oracle provider still needs to be adapted to this change
Note: OGC API - Features supports additional query parameters that are not defined in OpenAPI via As a result, this PR was updated to support this approach on queries to itemtypes (which now applies to all feature/record providers). This PR was also tested against OAFeat CITE with no impact to conformance. |
Overview
This PR contains the necessary adjustments for passing extra_params to providers and allow for custom behaviour in plugins.
Related Issue / discussion
Fixes #1667
Additional information
In the itemtypes a new variable is introduced. It contains a dictionary with unknown request parameters, basically anything can be passed to the request without changing behavior except there are no errors facing the client. The variable
extra_params
is then passed to the providers and accessible there.Another oracle specific change is the provider definition is getting passed to the manipulation class for possible adjustments to queries and filtering using the geometry column. Because it could also be named diffenently the name must be accessible later on.
Dependency policy (RFC2)
Updates to public demo
Contributions and licensing
(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)