[MapProxy] seed a WMTS service and create a WMS service

Oliver Tonnhofer olt at omniscale.de
Thu Aug 8 06:22:00 PDT 2013


On 07.08.2013, at 13:25, Daniel O'donohue wrote:
> I am trying to create a WMS service based on a WMTS service and just cant seem to get it to work.
> After seeding the WMTS service I can see that all the images in the cache a white or in the completely wrong order.
> I should this is something to do with the grids I am using but can't seen to figure it out. Here is my set up .. any help / advice / hints or tips are welcome

> sources:
>   Ortofoto_WMTS:
>     #only to LO9
>     type: tile
>     url: http://kortforsyningen.kms.dk/orto_foraar?SERVICE=WMTS&LOGIN=name&PASSWORD=password&layer=orto_foraar&REQUEST=GetTile&VERSION=1.0.0&STYLE=default&TILEMATRIXSET=View1&TILEMATRIX=L0%(z)s&TILEROW=%(y)s&TILECOL=%(x)s&FORMAT=image%%2Fjpeg
>     grid:  DK_Grid_WMTS
> [...]
>   DK_Grid_WMTS:
>     srs: 'EPSG:25832'
>     bbox: [7.9,54.3,16.2,57.8]
>     bbox_srs: 'EPSG:4326'
>     origin: "nw"

You need to match the WMTS tile matrix set of your source WMTS here. `origin: 'nw'` is right for WMTS sources, but I doubt that the BBOX of the service in EPSG:25832 is identical to your EPSG:4326 BBOX. Can you post the tile matrix part of the WMTS capabilities? 


Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
http://mapproxy.org | https://github.com/olt    | @oltonn

More information about the MapProxy mailing list