[MapProxy] how aggregate the wms requests

Andrea Peri aperi2007 at gmail.com
Sat Feb 11 12:42:02 EST 2012


Hi,

I'm study-ing the settings of MapProxy.
I see the mapproxy want this setting configuration :

layers:
  - name: lay1
    title: LAYER 1
    sources: [src_lay1]
  - name: lay2
    title: LAYER 2
    sources: [src_lay2]
  - name: lay3
    title: LAYER 3
    sources: [src_lay3]

sources:
  src_lay1:
    type: wms
    req:
      url: http://the-url/?
      layers: idlay1
    ...
  src_lay2:
    type: wms
    req:
      url: http://the-url/?
      layers: idlay2
    ...
  src_lay3:
    type: wms
    req:
      url: http://the-url/?
      layers: idlay3
    ...

On a WMS client try-ing to ask a wms request like this:

service=wms&layers=lay3,lay1,lay2&...

the map-proxy seem do three ask:

#1) http://the-url/../service=wms&request=getmap&layers=lay3

#2) http://the-url/../service=wms&request=getmap&layers=lay1

#3) http://the-url/../service=wms&request=getmap&layers=lay2

Is possible to set MapProxy to do one unique  request
like this:

 http://the-url/../service=wms&request=getmap&layers=lay3,lay1,lay2

Thx,

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20120211/5eccf7fb/attachment.html


More information about the MapProxy mailing list