[MapProxy] Reprojecting WebMercator

Julien Kazemifard julien.kazemifard at visioterra.fr
Thu Aug 7 04:14:14 PDT 2014


Hi everyone,
I’m trying to use MapProxy to serve OSM tiles (EPSG:3857) through WMS in EPSG:4326

Here is my configuration :

services:
  wms:
    srs: ['EPSG:4326']

layers:
  - name: OSM_Official
    title: Open Street Map Tiles
    sources: [osm_tiles_geo_cache]

caches:
  osm_tiles_geo_cache:
    grids: [geodetic]
    sources: [osm_tiles_cache]
  osm_tiles_cache:
    grids: [webmercator]
    sources: [osm_tiles]
    format: image/png
    disable_storage: true

sources:
  osm_tiles:
     type: tile
     url: http://c.tile.openstreetmap.org/%(tms_path)s.%(format)s
     grid: webmercator

grids: 
    webmercator:
        base: GLOBAL_WEBMERCATOR
    geodetic:
        base: GLOBAL_GEODETIC

But it does not seem to be the right way of doing it because I have some shift compared to native EPSG:4326 server : see attachment gif. (Look at the antarctic for example)

Can you help me setting the right configuration for doing this please ?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20140807/a104f1b8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.gif
Type: image/gif
Size: 25794 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20140807/a104f1b8/attachment-0001.gif>


More information about the MapProxy mailing list