[MapProxy] wms request parameter passing to tms source

Travis Kirstine traviskirstine at gmail.com
Thu Nov 3 07:58:38 PDT 2016


I would like to pass custom parameter from a WMS request to my configured
tms source service similar to wms source option to forward_req_params.  Is
this possible?

Something like this:

request:
http://server.com/mapproxy/service?request=getmap&service=wms&version=1.0.0&layers=layer1,layer2&id=foobar&.........
..



yaml:

sources:
  source_tms:
    type: tile
    url: 'http://mytms/tms/1.0.0/layer1@gmaps/%(tms_path)s.png?id=%(id)s'
    grid: spherical_mercator
    transparent: true
    on_error:
      404:
        response: transparent
        cache: false
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20161103/5b25497e/attachment.html>


More information about the MapProxy mailing list