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

Missing / non-conforming OGC API - Processes links/relations #845

Closed
jerstlouis opened this issue Jan 24, 2022 · 2 comments · Fixed by #846
Closed

Missing / non-conforming OGC API - Processes links/relations #845

jerstlouis opened this issue Jan 24, 2022 · 2 comments · Fixed by #846
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jerstlouis
Copy link

jerstlouis commented Jan 24, 2022

Description
Issues conforming with OGC API - Processes 1.0 discovered in extended T-17 TIEs:

  • Each process description (/processes/{processId}) needs to include a link to the execution end-point with relation type http://www.opengis.net/def/rel/ogc/1.0/execute
  • The list of processes (/processes) needs to include a link with relation type self in each array item pointing to the process description (/processes/{processId})
  • Note also that the links currently in process description using collection relation type end-point linking to jobs is not correct -- the specification specifies http://www.opengis.net/def/rel/ogc/1.0/job-list to link to the list of jobs. (also applies to the content at /processes)
  • The use of rel: canonical is probably also wrong, IANA says canonical "Designates the preferred version of a resource (the IRI and its contents).", and I would take this to mean the canonical resource for the same resource, not some other resource (also applies to the content at /processes)

Steps to Reproduce
Inspect the resources for an OGC API - Processes deployment of pygeoapi.

Expected behavior
Following the specifications as explained above.

Environment

  • pygeoapi version: 0.12.dev0

Additional context
Testbed 17 / 52 North pygeoapi deployment - Ecere client TIEs

cc @MartinPontius @tomkralidis

@jerstlouis jerstlouis added the bug Something isn't working label Jan 24, 2022
tomkralidis added a commit to tomkralidis/pygeoapi that referenced this issue Jan 25, 2022
tomkralidis added a commit to tomkralidis/pygeoapi that referenced this issue Jan 25, 2022
@tomkralidis
Copy link
Member

Thanks @jerstlouis for the detailed report. PR in #846

tomkralidis added a commit that referenced this issue Jan 25, 2022
* [OAProc]: fix relation types (#845)

* [OAProc]: fix relation types (#845)
@tomkralidis
Copy link
Member

Merged in #846. Please reopen if there are outstanding issues.

@tomkralidis tomkralidis reopened this Jan 25, 2022
@tomkralidis tomkralidis added this to the 0.12.0 milestone Jan 25, 2022
@tomkralidis tomkralidis self-assigned this Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants