[MapProxy] Layer Definition
Oliver Tonnhofer
olt at omniscale.de
Tue Sep 5 05:14:29 PDT 2017
Like:
source:
wms_source:
type: wms
req:
url: http://example.org/service?
layers: "nora:base,nora:roads"
transparent: true
See: https://mapproxy.org/docs/nightly/sources.html#wms
Regards,
Oliver
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | https://omniscale.com
OpenStreetMap WMS and tile services | https://maps.omniscale.com
> On 05.09.2017, at 13:22, Niemeier, Stefan (Stadtwerke Lemgo GmbH) <niemeier at stadtwerke-lemgo.de> wrote:
>
> Hi,
>
> you wrote :
> << You can still reference the layer names from the source.>>
>
> What does it mean ?
> The layer names are specified with colons ‘:’ in the name. By referencing from the source I also have to define the layers by [source:layername_with:colon]
>
> ??????????
>
> Regards,
>
> Stefan
>
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Oliver Tonnhofer [mailto:olt at omniscale.de]
> Gesendet: Dienstag, 5. September 2017 12:07
> An: Niemeier, Stefan (Stadtwerke Lemgo GmbH)
> Cc: mapproxy at lists.osgeo.org
> Betreff: Re: [MapProxy] Layer Definition
>
> 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
>
>
>
> Sitz der Gesellschaft Lemgo | Amtsgericht Lemgo | HRB 1127
> Aufsichtsratsvorsitzender Dr. Reiner Austermann
> Geschäftsführer Dipl.-Ing. Arnd Oberscheven
>
More information about the MapProxy
mailing list