[MapProxy] Map shift between TMS and WMS

Frank Broniewski 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 ...

Frank

Am 09.08.2012 10:23, schrieb Frank Broniewski:
> Hi,
>
> 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 [1] and a live example here [2]. 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
>
> Frank
>
>
> [1] https://bitbucket.org/metrico/mapproxy/src
> [2] http://www.gis-hosting.lu/examples/en/metrico-osm-cv.html


-- 
Frank BRONIEWSKI

METRICO s.à r.l.
géomètres
technologies d'information géographique
rue des Romains 36
L-5433 NIEDERDONVEN

tél.: +352 26 74 94 - 28
fax.: +352 26 74 94 99
http://www.metrico.lu


More information about the MapProxy mailing list