[MapProxy] Layer Definition

Oliver Tonnhofer olt at omniscale.de
Tue Sep 5 03:06:57 PDT 2017


Hi,

this is related to: https://github.com/mapproxy/mapproxy/issues/321

You can still reference the layer names from the source.

Regards,
Oliver

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







> On 04.09.2017, at 12:00, Niemeier, Stefan (Stadtwerke Lemgo GmbH) <niemeier at stadtwerke-lemgo.de> wrote:
> 
> Hey,
>  
> i have a problem with a Layerdefinition in the mapproxy.yaml. The source offers two layers which were terribly named.
>  
> <image001.png>
>  
> In the layers definition i configured this:
>  
> layers:
>   - name: osm
>     title: Omniscale OSM WMS - osm.omniscale.net
>     sources: ["osm_wms:osm"]
>   - name: Grundkarte
>     title: Grundkarte
>     sources: ["versorgung:Kommune_Grundkarte"]
>   - name: LIKA
>     title: LIKA
>     sources: ["lika:nora:ALKIS_Basis_Vertrieb,nora:ALKIS_Beschriftung"]
>  
> and in the sources section:
>  
> sources:
>   lika:
>     type: wms
>     req:
>       url: http://owsproxy.lgl-bw.de/owsproxy/ows/owsproxy/ows/WMS_LGL-BW_ALKIS_Basis_Vertrieb?user=xxx&password=xxx
>       transparent: true
>       format: image/png
>  
> I think the Syntax of the Layerdefinition is not correct with [source]: and the the layername again with :.
>  
> What is the correct syntax?
>  
> Regards,
>  
> Stefan Niemeier
>  
>  
> 
> Sitz der Gesellschaft   Lemgo | Amtsgericht Lemgo | HRB 1127
> Aufsichtsratsvorsitzender  Dr. Reiner Austermann
> Geschäftsführer  Dipl.-Ing. Arnd Oberscheven
>  
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list