[MapProxy] forward_req_params not working

Oliver Tonnhofer tonnhofer at omniscale.de
Thu Feb 5 00:57:07 PST 2015


Hi,

forward_req_params only works with cascaded/uncached layers.

See: http://mapproxy.org/docs/nightly/sources.html#forward-req-params


Regards,
Oliver

-- 
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
OpenStreetMap WMS and tile services         | http://maps.omniscale.com



> On 04.02.2015, at 22:38, Charlton Galvarino <charlton at 2creek.com> wrote:
> 
> I have an incoming mapproxy request that looks like this . . .
> 
> http://map1/test/ncep_gwes/service?LAYERS=ncep_gwes&TRANSPARENT=TRUE&STYLES=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TIME=20150214T0000Z&SRS=EPSG%3A4326&BBOX=-104.48571504865,10.76428590502,-73.914286477226,37.83571447645&WIDTH=1284&HEIGHT=1137
> 
> And part of my yaml looks like this . . .
> 
> sources:
>  ncep_gwes:
>    type: wms
>    forward_req_params: ['TIME']
>    req:
>      url: http://map0/uc.php?cgi=/ogc/ncep_gwes_DB
>      layers: ncep_gwes
>      transparent: true
>    http:
>      client_timeout: 180
> 
> caches:
>  ncep_gwes_cache:
>    grids: [ncep_gwes_grid]
>    sources: [ncep_gwes]
>    disable_storage: true
>    meta_size: [4, 4]
> 
> The problem is that the TIME param is not being forwarded along to my target (map0).  Am I doing something wrong?
> 
> MapProxy Version 1.7.1
> 
> Many thanks,
> 
> Charlton
> 
> 
> 
> 
> 
> Charlton Galvarino
> 1 (803) 233-6205 : voice
> 1 (803) 223-9579 : fax
> charlton at 2creek.com
> 
> P.O. Box 50960
> Columbia, SC 29250
> 
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list