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

datahub - incorrect query to OGC API Features #1067

Open
fvanderbiest opened this issue Dec 17, 2024 · 1 comment
Open

datahub - incorrect query to OGC API Features #1067

fvanderbiest opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@fvanderbiest
Copy link
Contributor

fvanderbiest commented Dec 17, 2024

https://demo.georchestra.org/datahub/dataset/6f7cbbdb-5899-495d-90db-fc26c9439284 links to a geoserver-provided OGC API Features layer:
image
https://demo.georchestra.org/geonetwork/srv/api/records/6f7cbbdb-5899-495d-90db-fc26c9439284/formatters/xml

The API section generates incorrect links to the OGC API service, as it does not take into account geoserver's supported output formats.

image
It generates links to https://demo.georchestra.org/geoserver/ogc/features/v1/collections/geor:georchestra_instances/items?f=geojson&limit=-1 when https://demo.georchestra.org/geoserver/ogc/features/v1/collections/geor:georchestra_instances/items?f=application%2Fgeo%2Bjson&limit=-1 is expected instead

@fvanderbiest fvanderbiest added the bug Something isn't working label Dec 17, 2024
@jahow
Copy link
Collaborator

jahow commented Dec 17, 2024

Thank you! This is a known bug but it wasn't properly reported before.

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

No branches or pull requests

2 participants