<div dir="auto">Hi,</div><div dir="auto"><br></div><div dir="auto">I think this problem related to your grid configuration, try to pass the correct [bbox] and [res] attributes </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Hazem </div><div dir="auto">Software Engineer</div><div dir="auto"><br></div><div dir="auto"><br></div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 30 Oct 2021 at 11:54 AM Morten Grude <<a href="mailto:mortengru@gmail.com">mortengru@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi all and please help.<div><br></div><div>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.)<br><br>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. <br>Something in my code is not set correctly and I cant figureout what. <br>I am trying to access: <a href="https://services.geodataonline.no/arcgis/rest/services/Geocache_WMAS_WGS84/GeocacheBasis/MapServer/WMTS/1.0.0/WMTSCapabilities.xml" target="_blank">https://services.geodataonline.no/arcgis/rest/services/Geocache_WMAS_WGS84/GeocacheBasis/MapServer/WMTS/1.0.0/WMTSCapabilities.xml</a><br><br><div>services:<br></div><div> demo: </div><div> wmts:</div><div> restful: true</div><div> kvp: true</div><div> restful_template: /{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg</div><div> </div><div>sources:</div><div><br></div><div> gd_basis_102100: </div><div> type: tile</div><div> grid: wmas</div><div> url : <a href="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" target="_blank">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</a></div><div> </div><div>layers:</div><div> - name: Geocache_WMAS_WGS84_GeocacheBasis</div><div> title: Background basic map of Norway</div><div> sources: [wmas_cache]</div><div> </div><div> </div><div>caches:</div><div> wmas_cache:</div><div> sources: [gd_basis_102100]</div><div> grids: [wmas]</div><div> #meta_size: [2, 2]</div><div> format: image/jpeg</div><div> </div><div>grids:</div><div> wmas:</div><div> srs: 'EPSG:102100'</div><div> bbox: [-2003750.8342787, -3339583.6824152917, 2879272.8642343017, 2003750.8342787]</div><div> bbox_srs: 'EPSG:102100'<br></div><div> origin: nw</div><div> 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] </div><div> </div></div></div></div></div></div>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
</blockquote></div></div>