geopython / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
459 stars 250 forks source link

Extra params fixes #1667 #1673

Open Moritz-Langer opened 1 month ago

Moritz-Langer commented 1 month ago

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)