[MapProxy] Can't get reprojecting tiles from WMTS service to work

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[MapProxy] Can't get reprojecting tiles from WMTS service to work

Simon Poole
Hi all

I'm fairly stumped at this point and maybe somebody can enlighten me
what I'm doing wrong. I need to reproject tiles from a WMTS server in
EPSG:2056 to a conventional google/OSM tile service. When running in
debug mode the request urls built have tile numbers that are rather off,
but it is no clear at all why.

If anybody could help, we would be very grateful.

Simon

Configuration file:

services:
  demo:
  tms:
    use_grid_names: true
    # origin for /tiles service
    origin: 'nw'

layers:
  - name: agis2017
    title: AGIS 2017
    sources: [agis_2017_cache]

caches:
  agis_2017_cache:
    grids: [GLOBAL_WEBMERCATOR]
    sources: [agis_2017_orig]
  agis_2017_orig:
    disable_storage: true
    sources: [agis_2017_source]
    grids: [agis_grid]

sources:
  agis_2017_source:
    type: tile
    grid: agis_grid
    url:
'<a href="http://www.ag.ch/geoportal/rest/services/base_ortho2017/MapServer/WMTS/tile/1.0.0/base_ortho2017/default/default028mm/%(z)s/%(y)s/%(x)s'">http://www.ag.ch/geoportal/rest/services/base_ortho2017/MapServer/WMTS/tile/1.0.0/base_ortho2017/default/default028mm/%(z)s/%(y)s/%(x)s'
    coverage:
       srs: EPSG:2056
       bbox: [2620000, 1220000, 2677500, 1275000]

grids:
    agis_grid:
        origin: nw
        srs: EPSG:2056
        bbox: [2620000, 1220000, 2677500, 1275000]
        res: [500,250,100,50,20,10,5,2.5,2,1.5,1,0.5,0.25,0.1]
globals:



_______________________________________________
MapProxy mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapproxy

signature.asc (499 bytes) Download Attachment