[MapProxy] arcgiscache_path to /z/x/y

Juan Carvajal B. juan at mediaarchitecture.org
Wed Oct 9 02:02:20 PDT 2019


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:
- https://www.data.gv.at/katalog/dataset/orthofoto-2018-wien
-https://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml

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:
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: 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*

*juan at mediaarchitecture.org <juan at mediaarchitecture.org>*




*juca at juan-carlos.info <juca at juan-carlos.info>Nordwestbahnstrasse 49/26AT
1200, Wienwww.juan-carlos.info <http://www.juan-carlos.info>*

*Join our mailing list
<http://lists.mediaarchitecture.org/?p=subscribe&id=1> (Max 1-mail / month)*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20191009/b1daf452/attachment.html>


More information about the MapProxy mailing list