[MapProxy] WMTS from ArcGIS WMTS service - not returning tiles correctly - anyone with a working sample config?

Morten Grude mortengru at gmail.com
Sat Oct 30 02:53:32 PDT 2021


Hi all and please help.

I need to provide a mapproxy wmts service from an external ArcGIS tile
cached service. (Due to strict FW/internett access rules our MapProxy
sevrer is the only instance with Internett access to communicate with the
external ArcGIS server.)

Has anyone a working sample to share? I am accessing the ArcGIS WMTS
service directly and gets some tiles returned at zoom level 0, but
everything drops/disappears when zooming.
Something in my code is not set correctly and I cant figureout what.
I am trying to access:
https://services.geodataonline.no/arcgis/rest/services/Geocache_WMAS_WGS84/GeocacheBasis/MapServer/WMTS/1.0.0/WMTSCapabilities.xml

services:
  demo:
  wmts:
    restful: true
    kvp: true
    restful_template:
/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg

sources:

  gd_basis_102100:
    type: tile
    grid: wmas
    url :
https://services.geodataonline.no/arcgis/rest/services/Geocache_WMAS_WGS84/GeocacheBasis/MapServer/WMTS/tile/1.0.0/Geocache_WMAS_WGS84_GeocacheBasis/default/default028mm/%(x)s/%(y)s/%(x)s.%(format)s

layers:
  - name: Geocache_WMAS_WGS84_GeocacheBasis
    title: Background basic map of Norway
    sources: [wmas_cache]


caches:
  wmas_cache:
    sources: [gd_basis_102100]
    grids: [wmas]
    #meta_size: [2, 2]
    format: image/jpeg

grids:
  wmas:
    srs: 'EPSG:102100'
    bbox: [-2003750.8342787, -3339583.6824152917, 2879272.8642343017,
2003750.8342787]
    bbox_srs: 'EPSG:102100'
    origin: nw
     res:
[156543.03392800014,78271.51696399994,39135.75848200009,19567.87924099992,4891.96981024998,2445.98490512499,1222.992452562495,611.4962262813797,305.74811314055756,152.87405657041106,76.43702828507324,38.21851414253662,19.10925707126831,9.554628535634155,4.77731426794937,2.388657133974685,1.1943285668550503,0.5971642835598172]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20211030/05281b52/attachment.html>


More information about the MapProxy mailing list