[MapProxy] Map shift between TMS and WMS
brfr at metrico.lu
Fri Aug 10 00:28:04 PDT 2012
This is really stupid. I had a typo in the maxExtent Bounding Box from
OpenLayers, so the client side grid calculation wasn't correct. I am
really sorry for the noise ...
Am 09.08.2012 10:23, schrieb Frank Broniewski:
> I have a shift of my map in comparison to TMS between WMS layer.
> I have a mapnik OpenStreetMap source and a wms relief source. If I use
> the OpenStreetMap source as a tms and overlay the relief source as wms,
> there's a vertical shift of the data so that it is not overlaying
> correctly. If I use the OpenStreetMap source as wms and the relief as
> wms, both are overlaying correctly. Now I wonder what may be the cause
> of this behavior? Is this maybe due to the bounding box with which the
> grid is configured?
> 83 grids:
> 95 cv:
> 96 srs: 'EPSG:4826'
> 97 res: [1222, 610.984, 305.492, 152.746, 76.373, 38.187,
> 19.093, 9.547, 4.773, 2.387, 1.193
> 98 bbox: [-26, 14, -22, 18]
> 99 bbox_srs: 'EPSG:4326'
> I uploaded my config here  and a live example here . Use the last
> WMS server in the layer switcher for testing, the others aren't working
> currently. If you zoom closer to an island you will notice the
> difference in position much better.
> Any tips are greatly appreciated
>  https://bitbucket.org/metrico/mapproxy/src
>  http://www.gis-hosting.lu/examples/en/metrico-osm-cv.html
METRICO s.à r.l.
technologies d'information géographique
rue des Romains 36
tél.: +352 26 74 94 - 28
fax.: +352 26 74 94 99
More information about the MapProxy