pygeoapi icon indicating copy to clipboard operation
pygeoapi copied to clipboard

Extra params fixes #1667

Open Moritz-Langer opened this issue 1 year ago • 0 comments

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)

  • [x] I have ensured that this PR meets RFC2 requirements

Updates to public demo

  • [ ] I have ensured that breaking changes to the pygeoapi master demo server have been addressed
    • [ ] https://github.com/geopython/demo.pygeoapi.io/blob/master/services/pygeoapi_master/local.config.yml

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

  • [x] I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution
  • [x] I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

Moritz-Langer avatar Jun 03 '24 12:06 Moritz-Langer