[MapProxy] Define multiple services of the same type

Oliver Tonnhofer olt at omniscale.de
Thu Jan 25 05:48:00 PST 2018


have you checked https://mapproxy.org/docs/nightly/deployment.html#multimapproxy?


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

> On 25. Jan 2018, at 00:55, Richard Law <r.law at metocean.co.nz> wrote:
> Hi, apologies if a similar question has been asked before; I can't find a way to search the archives for this list.
> I create a MapProxy configuration YAML programmatically, for a single WMS service that is a proxy to a tile service. The output tends to be very large (hundreds to thousands of layers), and we manage this for consumers of the WMS by filtering layers based on what they are authorised to see. However even with filtering, occasionally it is possible that a WMS consumer is authorised to see such a volume of layers that the initial WMS GetCapabilities document is very large, leading to a timeout, or at best a very long response time and a huge download.
> I was wondering if instead it would be possible to define multiple services of the same type in the MapProxy service configuration. For example, we could have three WMS services defined in the configuration that are accessed at
> domain/service/wms-a
> domain/service/wms-b
> domain/service/wms-c
> I would expect that different clients would be interested in different services, because they would each be distinct in terms of theme. Each WMS service would include a reference to the layers that they provide. This way, pointing to service/wms-a implies a much smaller download for the GetCapabilities than the full list of layers that are provided.
> I could run multiple instances of MapProxy located at different endpoints (domain/a/service, domain/b/service, etc.), but this feels a little superfluous when it is already possible to have MapProxy run multiple services (as long as they are of different types).
> So, is it possible/planned to run multiple services of the same type (in this case WMS services)?
> Thanks,
> Richard
> -- 
> Richard Law 
> Geographic Information Systems (GIS) Developer 
> t: +64 7 825 0540 ext.123 
> m: +64 27 6355 328 
> www.metocean.co.nz
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy

More information about the MapProxy mailing list