[MapProxy] Layer Definition

Niemeier, Stefan (Stadtwerke Lemgo GmbH) niemeier at stadtwerke-lemgo.de
Mon Sep 4 03:00:55 PDT 2017


Hey,

i have a problem with a Layerdefinition in the mapproxy.yaml. The source offers two layers which were terribly named.

[cid:image001.png at 01D32573.B2E8BBE0]

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20170904/d0941f0f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 14859 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20170904/d0941f0f/attachment-0001.png>


More information about the MapProxy mailing list