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

Maps Swagger documentation for Get Map /map wrong values #1808

Open
CeciliaPH opened this issue Sep 12, 2024 · 0 comments
Open

Maps Swagger documentation for Get Map /map wrong values #1808

CeciliaPH opened this issue Sep 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working OGC API - Maps OGC API - Maps OpenAPI OpenAPI
Milestone

Comments

@CeciliaPH
Copy link

Description
When using Swagger to get a map, values for bbox-crs are not consistent with how pyegoapi obtains the map. Either it should be empty or allow to enter an URL if it is expected.

I think there is something else as reprojection by crs is not working... but at least it would be nice if values in swagger examples are correct.
#1648

Steps to Reproduce
KO
https://api-maps.idee.es/collections/IGNBaseTodo-gris/map?f=png&bbox=0.5,38,5,42.5&bbox-crs=4326 (swager example)
https://api-maps.idee.es/collections/IGNBaseTodo-gris/map?f=png&bbox=0.5,38,5,42.5&bbox-crs=http://www.opengis.net/def/crs/EPSG/0/4326

Empty image:
https://api-maps.idee.es/collections/IGNBaseTodo-gris/map?f=png&bbox=385221,4438425,483717,4507890&bbox-crs=http://www.opengis.net/def/crs/EPSG/0/25830
https://api-maps.idee.es/collections/IGNBaseTodo-gris/map?f=png&bbox=385221,4438425,483717,4507890&bbox-crs=http://www.opengis.net/def/crs/EPSG/0/25830

OK
https://api-maps.idee.es/collections/IGNBaseTodo-gris/map?f=png&bbox=0.5,38,5,42.5
https://api-maps.idee.es/collections/IGNBaseTodo-gris/map?f=png&bbox=0.5,38,5,42.5&crs=4326

Expected behavior
It would be great if swagger uses the right values.

Screenshots/Tracebacks
(https://api-maps.idee.es/openapi?f=html)

@CeciliaPH CeciliaPH added the bug Something isn't working label Sep 12, 2024
@tomkralidis tomkralidis self-assigned this Sep 12, 2024
@tomkralidis tomkralidis added this to the 0.19.0 milestone Sep 12, 2024
@tomkralidis tomkralidis added OpenAPI OpenAPI OGC API - Maps OGC API - Maps labels Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OGC API - Maps OGC API - Maps OpenAPI OpenAPI
Projects
None yet
Development

No branches or pull requests

2 participants