I am trying to consume Lantmateriet's WMTS source with EPSG:3006 and convert that to iOS TileOverlay compatible (GoogleMaps compatible) tile server. I cannot get it working. Can someone check this out and say what I am doing wrong.
mapproxy.yaml:
services: tms: use_grid_names: false origin: 'nw' layers: - name: sweden title: sweden sources: [cache_sweden] tile_sources: [cache_sweden] caches: cache_sweden: sources: [cache_sweden_original] grids: [GLOBAL_MERCATOR] meta_size: [4, 4] cache: type: mbtiles cache_sweden_original: sources: [source_sweden] grids: [grid_sweden] disable_storage: true sources: source_sweden: type: tile grid: grid_sweden url: 'https://api.lantmateriet.se/open/topowebb-ccby/v1/wmts/token/mytoken/?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=topowebb&STYLE=default&TILEMATRIXSET=3006&TILEMATRIX=%(z)s&TILEROW=%(y)s&TILECOL=%(x)s&FORMAT=image/png' grids: grid_sweden: srs: 'EPSG:3006' bbox: [-1200000.000000, 4305696.000000, 2994304.000000, 8500000.000000] origin: nw
Capabilities of the WMTS source I am trying to use can be seen: GetCapabilities.xml