[MapProxy] GetLegend URL same as OnlineResource

Klemm, Stephan - LISt Stephan.Klemm at list.smwa.sachsen.de
Thu Jun 1 00:22:56 PDT 2017


Good Morning,



We use MapProxy in the version 1.8.0.

Our MapProxy cascades an internal WMS and makes it more structured -->MapProxy-WMS is only accessible in the intranet.



In the wmts.yaml file I defined in the "services:" area a WMS with an online_resource in https:

services:
  wms:
    md:
      title:
      abstract:
      Online_resource: https://gdi-sbv.list.smwa.sachsen.de/kk3/wms/service?

This WMS is defined by “source” area as follows:

wms_bauprojekte:
    Type: wms
    wms_opts:
      Featureinfo: true
      Legendgraphic: true
    req:
      Url: http://172.24.50.75/kk3/wms?
      Layers: Kompensations_Bauprojekte_Polygon, Kompensations_Bauprojekte_Line, Kompensations_Bauprojekte_Point
      Transparent: true


Now to my question:

In the Capabilities appear the OnlineResorurce as https address, the OnlineResource for GetMap or GetLegend etc. appears only http.

How can I adjust this?
It would be enough if I can define a legendurl in https.
I have tried it according to the instructions [1] already, but does not work.

[1] https://github.com/mapproxy/mapproxy/blob/master/mapproxy/config_template/base_config/full_example.yaml





Defined OnlineResource with https



[cid:image005.jpg at 01D2DAB8.A7075940]



OnlineResoure for GetLegend, GetMap, GetFeatureInfo only http

[cid:image006.jpg at 01D2DAB8.A7075940]





Thanks and best regards!
Stephan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20170601/3954afc0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 9294 bytes
Desc: image005.jpg
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20170601/3954afc0/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 17252 bytes
Desc: image006.jpg
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20170601/3954afc0/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wmts.yaml
Type: application/octet-stream
Size: 9127 bytes
Desc: wmts.yaml
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20170601/3954afc0/attachment-0001.obj>


More information about the MapProxy mailing list