[MapProxy] WMS-C requests with "SRS=OSGEO:41001" returning "internal error"

Oliver Tonnhofer olt at omniscale.de
Thu Sep 26 02:48:42 PDT 2013

On 19.09.2013, at 12:30, Jason Lee wrote:
> I'm trying to setup a Mapproxy WMS-C service for my tiles source to be consumed in QGIS.
> The tiles source is regular XYZ tiles, same as OSM, and I can see that QGIS requests tiles with the SRS=OSGEO:41001 which I understand is the same as EPSG:900913.
> However, once I've added the WMS-C service and clicked to add my layer, I cannot see any map appearing. When I debug the requests coming into my Mapproxy server I see request like this:-
> http://www.myserver.com/maps/service?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&WIDTH=256&HEIGHT=256&LAYERS=mylayer&STYLES=&FORMAT=image/png&SRS=OSGEO:41001&TILED=true&BBOX=78271.5170226730406284,6688851.4712606649845839,78577.2651358135044575,6689157.2193738073110580
> ...which just returns an "internal error" message in a browser.
> If I replace "OSGEO:41001" with "EPSG:91001" i the above request I get a valid map tile. I'm guessing I need to setup my MapProxy with 41001 as a custom projection?
> Any help/advice much appreciated.

MapProxy doesn't support non-EPSG SRS, but it's a bug that OSGEO:41001 appears at all in the WMS-C capabilities. OSGEO:41001 is the expected projection for TMS with webmercator tile grids, WMS-C should use the configured SRS (EPSG:900913, or EPSG:3857).

It's now fixed in MapProxy: https://github.com/mapproxy/mapproxy/commit/916e64ee38e3af179891d87b7aade32abc0b3498


Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
http://mapproxy.org | https://github.com/olt    | @oltonn

More information about the MapProxy mailing list