<div dir="rtl"><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">Since the last few days I have been trying to configure a mapproxy server to consume israel govmap services as tms service.</div><div dir="ltr"><br></div><div dir="ltr">Govmap is using esri cache with srs 2039 grid</div><div dir="ltr"><br></div><div dir="ltr">Example for Tel-Aviv tile with govmap:</div><div dir="ltr"><a href="https://cdn.govmap.gov.il/020522B0B20R/L03/R0000017d/C00000149.jpg" target="_blank">https://cdn.govmap.gov.il/020522B0B20R/L03/R0000017d/C00000149.jpg</a><br></div><div dir="ltr"><br></div><div dir="ltr">While I want to consume it with webmercator grid like openstreetmap:</div><div dir="ltr"><a href="https://a.tile.openstreetmap.org/12/2443/1662.png" target="_blank">https://a.tile.openstreetmap.org/12/2443/1662.png</a></div><div dir="ltr"><br></div><div dir="ltr">I tried to create an inner cache as mentioned in some post I found, but no luck.</div><div dir="ltr"><br></div><div dir="ltr">Rest call example:</div><div dir="ltr"><a href="http://localhost:8080/tiles/1.0.0/gov/webmercator/12/2443/1662.png">http://localhost:8080/tiles/1.0.0/gov/webmercator/12/2443/1662.png</a><br></div><div dir="ltr"><br></div><div dir="ltr">Seems like the server is not triggering a rest call for any input, and just sending an empty tile.</div><div dir="ltr"><br></div><div dir="ltr">Server configuration:</div><div dir="ltr"><br></div><div dir="ltr">services:<br>  #sets up how to make the source data available<br>  demo:<br>  tms:<br>    use_grid_names: true<br>    # origin for /tiles service<br>    origin: 'nw'<br><br><br><br>layers:<br>  #sets up which layers you want to make available using the services above. You can add many, but let's stick to osm data here.<br>  - name: gov      # access in JOSM as TMS: <a href="http://localhost:8080/tiles/1.0.0/osm_demo/webmercator/{zoom}/{x}/{y}.png">http://localhost:8080/tiles/1.0.0/osm_demo/webmercator/{zoom}/{x}/{y}.png</a><br>    title: GovMap<br>    sources: [gov_cache]<br><br>caches:<br>  #setup the cache for the open streetmap tiles. This cache is used by the layer above.<br>  gov_cache:<br>    grids: [webmercator]<br>    meta_size: [4, 4]<br>    sources: [gov_cache_in]<br><br>  gov_cache_in:<br>    grids: [utm]<br>    disable_storage: true<br>    sources: [govmap]<br><br>sources:<br>  govmap:<br>    type: tile<br>    url: <a href="https://cdn.govmap.gov.il/020522B0B20R/%(arcgiscache_path)s.jpg">https://cdn.govmap.gov.il/020522B0B20R/%(arcgiscache_path)s.jpg</a><br>    grid: utm<br><br>grids:<br>  webmercator:<br>    base: GLOBAL_WEBMERCATOR<br>  utm:<br>    srs: 'EPSG:2039'<br>    bbox: [1188286, -713158,993050 ,-713158]<br>    res: [793.751587503175, 264.583862501058, 132.291931250529, 66.1459656252646, 26.4583862501058, 13.2291931250529, 6.61459656252646, 2.64583862501058, 1.32291931250529, 0.661459656252646, 0.330729828126323, 0.132291931250529]<br>    num_levels: 12<br>    #origin: nw <br><br>globals:<br>  #next are some global configuration options for MapProxy. They mostly explain themselves, or can be looked-up in the MapProxy docs.<br>  cache:<br>    # where to store the cached images<br>    base_dir: './cache_data'<br>    # where to store lockfiles<br>    lock_dir: './cache_data/locks'<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Any help will be appreciated</div><div dir="ltr"><br></div><div dir="ltr">Thanks,</div><div dir="ltr">David</div><div dir="ltr"><br></div></div>