Mapproxy在错误的位置显示分幅

Mapproxy在错误的位置显示分幅,proxy,gis,mapbox,stamen-maps,Proxy,Gis,Mapbox,Stamen Maps,我正在使用Mapproxy显示地图。但是瓷砖显示在错误的位置。 例如: 放大得越大,图像看起来就越奇怪 Mapproxy配置: layers: - name: StamenToner title: StamenMap sources: [stamen_cache] caches: stamen_cache: grids: [stamen_grid] sources: [stamen_wmts] sources: stamen_wmts

我正在使用Mapproxy显示地图。但是瓷砖显示在错误的位置。 例如:

放大得越大,图像看起来就越奇怪

Mapproxy配置:

layers: - name: StamenToner title: StamenMap sources: [stamen_cache] caches: stamen_cache: grids: [stamen_grid] sources: [stamen_wmts] sources: stamen_wmts: type: tile url: http://tile.stamen.com/toner/%(z)s/%(y)s/%(x)s.png grid: stamen_grid grids: stamen_grid: srs: 'EPSG:3857' origin: 'nw' tile_size: [512, 512] 层: -姓名:StamenToner 标题:雄蕊图 资料来源:[雄蕊库] 缓存: 雄蕊: 网格:[雄蕊网格] 资料来源:[雄蕊] 资料来源: 雄蕊: 类型:瓷砖 网址:http://tile.stamen.com/toner/%(z) s/%(y)s/%(x)s.png 花格:雄蕊花格 网格: 雄蕊网格: srs:“EPSG:3857” 原产地:“西北” 瓷砖大小:[512,512]
我不知道为什么放大时瓷砖的位置不正确。任何建议。

这适用于MapProxy==1.13.0的我

layers:
  - name: StamenToner
    title: StamenMap
    sources: [stamen_cache]

caches:
  stamen_cache:
    sources: [stamen_tiles]

sources:
  stamen_tiles:
    type: tile
    url: http://tile.stamen.com/toner/%(z)s/%(x)s/%(y)s.png
    grid: GLOBAL_WEBMERCATOR
注意:检查URL参数顺序<代码>/z/x/y而不是
/z/y/x
;根据:

许多应用程序和库都理解映射URL模板的概念。这些是我们的:


您是否将openlayers与mapproxy一起使用?如果是,请分享如何使用mapproxy和openlayer渲染地图