[MapProxy] [External] wms request parameter passing to tms source

Cruz, Petagay [USA] cruz_petagay at bah.com
Thu Nov 3 09:26:08 PDT 2016


I will make it smaller and resend.

maria





________________________________
From: MapProxy [mapproxy-bounces at lists.osgeo.org] on behalf of Travis Kirstine [traviskirstine at gmail.com]
Sent: Thursday, November 03, 2016 10:58 AM
To: mapproxy
Subject: [External] [MapProxy] wms request parameter passing to tms source

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&.........<&smime=14.3.123.2http://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<&smime=14.3.123.2http://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/b25c3b82/attachment.html>


More information about the MapProxy mailing list