[MapProxy] Projection does not match?

Antti J. Lind anttij.lind at birdlife.fi
Sun Jul 29 10:13:48 PDT 2018


Hello all,

I try to add mapproxy between mapserver and wmts source. Mapserver use 
mapproxy-server with wms 1.1.1. Wmts srs in EPGS:3067.
I can see the maps, but projection does not match. All maps seems to be 
about 100-500 to south-west.

My mapproxy-yaml is following.

services:
   wms:
     versions: ['1.1.1']
     srs: ['EPSG:3067']
     image_formats: ['image/png', 'image/jpeg']

layers:
   - name: mml
     title: MML WMTS
     sources: [mmlcache]

caches:
   mmlcache:
     grids: [SF]
     sources: [mml_s]

sources:
   mml_s:
     type: tile
     grid: SF
     coverage:
       bbox: [-198322,6571377,1050003,7819712]
       srs: 'EPSG:3067'
     url: https://hosts.ip/wmts/1.0.0/%(z)s/%(y)s/%(x)s.png

grids:
     SF:
         srs: 'EPSG:3067'
         bbox: [-198322,6571377,1050003,7819712]
         origin: 'nw'

globals:


Same source with Geoserver works ok and locations match ok on map.

Any idea?

Antti J. Lind
BirdLife Finland


More information about the MapProxy mailing list