You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/mnt/c/projects/geopython/lib/python3.10/site-packages/pygeoapi-0.17.dev0-py3.10.egg/pygeoapi/flask_app.py", line 160, in execute_from_flask
headers, status, content = api_function(api_, api_request, *args)
File "/mnt/c/projects/geopython/lib/python3.10/site-packages/pygeoapi-0.17.dev0-py3.10.egg/pygeoapi/api/maps.py", line 160, in get_collection_map
data = p.query(**query_args)
File "/mnt/c/projects/geopython/lib/python3.10/site-packages/pygeoapi-0.17.dev0-py3.10.egg/pygeoapi/provider/wms_facade.py", line 93, in query
LOGGER.debug(f'Output CRS: {CRS_CODES[crs]}')
KeyError: 'EPSG:3857'
the reason is clear, i'm requesting a map in non supported projection, however would be nice to have a better error discription. Seems the bbox is expected as http://www.opengis.net/def/crs/EPSG/0/3857. However when I run this request, a nill image is returned:
Is your feature request related to a problem? Please describe.
When requesting a map in epsg:3857 http://localhost:5000/collections/mapserver_world_map/map?f=png&bbox-crs=EPSG:3857&
the follwoing error is displayed:
the reason is clear, i'm requesting a map in non supported projection, however would be nice to have a better error discription. Seems the bbox is expected as http://www.opengis.net/def/crs/EPSG/0/3857. However when I run this request, a nill image is returned:
in logs the following error is displayed:
the wms backend seems to not support the 3857 projection, suggestion here would be to return an error in stead of an empty image
The text was updated successfully, but these errors were encountered: