Maps Swagger documentation for Get Map /map wrong values #1808
Labels
bug
Something isn't working
OGC API - Maps
OGC API - Maps
OpenAPI
OpenAPI
stale
Issue marked stale by stale-bot
Milestone
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)
The text was updated successfully, but these errors were encountered: