[MapProxy] WMS source

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Mon Jan 11 06:46:23 PST 2016


That’s a part of the base URL. Are you sure that you have not written that yourself for example by following strictly the example at http://mapproxy.org/docs/nightly/configuration.html#sources-conf-label


sources:

  sourcename:

    type: wms

    req:

      url: http://localhost:8080/service?

      layers: base

  anothersource:

    type: wms

    # ...

-Jukka Rahkonen-


Volkmar Herbst wrote:

Good afternoon,
I have a problem to use a wms source which does not use the service keyword for requests.
In the yaml config file I have specified url as http:/xxx.xxx.xxx/ortho/? and in the browser

http:/xxx.xxx.xxx/ortho/?LAYERS=Ortho&FORMAT=image%2Fpng&SRS=EPSG%3A3857&EXCEPTIONS=application%2Fvnd.ogc.se<http://2fvnd.ogc.se>_inimage&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=2331816.6044743,%207486029.4677342,%203148786.4110734,%207988055.2905705&WIDTH=865&HEIGHT=600%20HTTP/1.1%22

works ok. However Mapproxy does send request using the service keyword like

http:/xxx.xxx.xxx/ortho/service?LAYERS=Ortho&FORMAT=image%2Fpng&SRS=EPSG …

Is there a way to remove the „service" in the request string? Thank you.

Volkmar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20160111/d379a041/attachment-0001.html>


More information about the MapProxy mailing list