[mapserver-users] defining fallback source in WMS client definition

jbo-ads jbo-ads at mailo.com
Mon Mar 30 01:09:29 PDT 2020


Hi,

Wouldn't MapCache be a better tool for that task? I think of a 
configuration based on fallback caches: 
<https://mapserver.org/mapcache/caches.html?highlight=fallback#fallback-caches>.

Jérome.


Le 30/03/2020 à 09:11, Lars Fricke a écrit :
> Dear all,
>
> We use Mapserver 7.4.3 on Ubuntu. We use it as WMS client to collect 
> several WMS into one place, serving them to our application.
> The task now is to define a fallback for one of the WMS source 
> servers. That means:
>
> Mapserver will have two technically identical sources for the same 
> output layer, only the URL is different. Is there a way to define (in 
> mapfile preferably) that one source is only used if the other fails 
> (is offline)? I thought of layer groups but then I will have a 
> duplicate call if both sources are available. I do know this would be 
> a better task for a load balancer or proxy but we do not have that 
> option at this time.
>
> Thank you for your time and thoughts.
>
> Best
>
> Lars
>
> Lars Fricke
> Forschung & Entwicklung
>
> +49(0)39602-183097
> +49(0)39602-183098
>
> SkenData GmbH
> Mühlendamm 8B
> 18055 Rostock
> www.skendata.de
>
>
> Wert14
>
>
> www.wert14.de
>
> Geschäftsführer: Jon Meis und Sven Jantzen
> Amtsgericht Rostock HRB 12937
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list