[MapProxy] how aggregate the wms requests
Oliver Tonnhofer
olt at omniscale.de
Tue Feb 14 02:36:08 EST 2012
Hi Andrea,
that should work as long as the sources are identical. Do you have any other options for the sources (the "…" part in your config)?
Regards,
Oliver
On 11.02.2012, at 18:42, Andrea Peri wrote:
> 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 àèìòù
> -----------------
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn
More information about the MapProxy
mailing list