[MapProxy] forwarding requests by type

Travis Kirstine traviskirstine at gmail.com
Fri Oct 28 10:53:32 PDT 2016


Is it possible to forward / proxy WMS requests back to the source WMS
service and serve tile requests through your cache?  Something like the
following


 layers:
  - name: roads
    title: Roads
    sources: [roads_wms]
    tile_sources:[roads_cache]

sources:
  roads_wms:
    type: wms
    wms_opts:
      featureinfo: true
    req:
      url: http://mapserver/foo?
      layers: road_layer

caches:
  roads_cache:
    sources: [roads_wms]
    grids: ['GLOBAL_MERCATOR']
    meta_size: [8, 8]
    meta_buffer: 256
    cache:
     type: file
     directory_layout: tms
     directory: /mycaches/


Any WTMS TMS request would use the tile_sources but WMS request would use
the sources?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20161028/a508e06b/attachment.html>


More information about the MapProxy mailing list