Skip to content

Is it possible to create and use a custom provider #1229

Answered by justb4
sbrunner asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, see the documentation: https://docs.pygeoapi.io/en/latest/plugins.html. You can create a Provider as a plugin and have pygeoapi instantiating it. In the name attribute of the Provider YAML config you should point to your Python module/class which should be in the PYTHONPATH, or at least be able to be found. There are several examples in the docs, pointing to external repos like https://github.com/eurodatacube/ogc-edc/tree/oapi/edc_ogc/pygeoapi.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by justb4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants