Skip to content
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

ogc api processes - outputs #1420 #1435

Closed
wants to merge 3 commits into from
Closed

ogc api processes - outputs #1420 #1435

wants to merge 3 commits into from

Conversation

francescoingv
Copy link
Contributor

Overview

Add support for OGC API Processes Outputs

The parameter outputs is passed to the manager, which in turn pass it to the Processor.

By default the processor returns all the outputs defined into the section outputs of PROCESS_METADATA.
If the processor receives the parameter outputs (a dictionary), then only the outputs with the keys present into the parameter should be returned.

Related Issue / Discussion

Solve #1420,
Subset of #1285
Similar issue of the same subset #1313

Additional Information

The change would be a breaking change,
but it would be fairly simple for maintainers to accept the parameters and ignore them for now if not interested,
as shown in the modified HelloWorldProcessor.

Contributions and Licensing

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

  • 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.
  • I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

Add support for OGC API Processes Outputs
Operation of add_job() and update_job()
are called subject to the condition the configuration parameter connection is provided.

Improved the error description returned in case of errors during the processing.

Additional minor changes:
-) improved returned message if an error is found during the parsing of the json input string
-) amended returned message from echoProcessor in case of wrong input parameter
@francescoingv
Copy link
Contributor Author

Made an error and mixed two PR.
Going to close and will open two different PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant