[MapProxy] WMTS TopLeftCorner issue

Eric Lemoine eric.lemoine at gmail.com
Wed Dec 19 06:48:30 PST 2012


My mapproxy.yaml config includes the following for the grid definition:

    srs: 'EPSG:21781'
    bbox: [420000, 30000, 900000, 360000]
    bbox_srs: 'EPSG:21781'
    res: [250, 100, 50, 20, 10, 5, 2.5, 2, 1.5, 1, 0.5 ,0.25, 0.125, 0.0625]
    origin: 'nw'

The WMTS GetCapabilities document that MapProxy generates includes
TileMatrix blocks that look like this:

<TopLeftCorner>420000.0 40000.0</TopLeftCorner>

Given my grid's bbox I'd expect TopLeftCorner to be:

<TopLeftCorner>420000.0 360000.0</TopLeftCorner>

The other TileMatrix blocks, for the other zoom levels, also look
wrong to me, but with different values for Top.

Any insight on the problem?



More information about the MapProxy mailing list