[MapProxy] arcgiscache_path to /z/x/y

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

[MapProxy] arcgiscache_path to /z/x/y

Juan Carvajal B.
Hello list,

I want to "proxy" a tile set that is using the arcgiscache_path system. Basically I want to serve those tiles with the "normal" tile server schema "/z/x/y.ext" Ideally I want to show the tiles over the OSM map.

The arcgis tiles have the following boundary:

WGS84: POLYGON ((16.577511 48.322571, 16.18218 48.117668))

more infos here:

I already got the tiles displayed over the osm map and the location is somehow correct, however I can not figure out how to configure the right zoom levels. Below there is a copy of my configuration.

Any help is appreciated.

Best,

# -------------------------------
# MapProxy example configuration.
# -------------------------------
#

services:
  demo:
  tms:
    use_grid_names: true
    # origin for /tiles service
    origin: 'nw'
  kml:
      use_grid_names: true
  wmts:
  wms:
    md:
      title: MapProxy WMS Proxy
      abstract: This is a minimal MapProxy example.


layers:
  - name: vie
    title: Vienna orthophotos
    sources: [vie_cache]

caches:

  vie_cache:
    grids: [webmercator]
    sources: [osm_tile, vie_lb]

sources:
  vie_lb:
    type: tile
    transparent: true
    # use of this source is only permitted for testing
    grid: vie_custom
    url: <a href="https://maps.wien.gv.at/lb/Kacheln/_alllayers/%(arcgiscache_path)s.jpg">https://maps.wien.gv.at/lb/Kacheln/_alllayers/%(arcgiscache_path)s.jpg
  osm_tile:
    type: tile
    # use of this source is only permitted for testing
    grid: webmercator
    url: <a href="https://c.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png">https://c.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png


grids:
    webmercator:
        base: GLOBAL_WEBMERCATOR
    vie_custom:
        srs: 'EPSG:3857'
        bbox: [1799448.394855, 6124949.747770, 1848250.442089, 6162571.828177]
        bbox_srs: 'EPSG:3857'
        min_res: 559082264.029
        #max_res: 1066.36479193
        #num_levels: 20
globals:







Juan Carlos Carvajal Bermúdez
+43 650 477 0005
[hidden email]
Nordwestbahnstrasse 49/26
AT 1200, Wien
www.juan-carlos.info

Join our mailing list (Max 1-mail / month)


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