[MapProxy] Display Original WMS Exception Messages

Johannes Weskamm weskamm at terrestris.de
Thu Feb 25 08:33:46 PST 2021


Hi,


There is no option for that i know of.

The closest thing is "on_error", but it returns custom colors and status
codes
(https://mapproxy.org/docs/nightly/sources.html?highlight=error#on-error)


I think the best bet is if you set the "Exceptions" Parameter on your
source URL to

"EXCEPTIONS=application/vnd.ogc.se_inimage"


That will render your exceptions as image and mapproxy may forward those
to you instead of raising an error.


Greetings,

Johannes



More information about the MapProxy mailing list