[MapProxy] WMS source

Volkmar Herbst Volkmar.Herbst at agricon.de
Mon Jan 11 08:02:23 PST 2016


Ok, found it, it was a configuration issue- there was no log from the source and I took the wms log from mapproxy - my mistake.
Thank you


Am 11.01.2016 um 16:00 schrieb Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi<mailto:jukka.rahkonen at maanmittauslaitos.fi>>:

Very odd. Could you double check by defining url as http://xxx.xxx.xxx/ortho/foo? Does it change requests into http://xxx.xxx.xxx/ortho/foo/service?

-Jukka Rahkonen-

Volkmar Herbst wrote:

Definitely not, the source is defined as url: http://xxx.xxx.xxx/ortho/??  and the request going out from mapproxy is http://xxx.xxx.xxx/ortho/service?Layers…

Mapproxy version is 1.7.1



Am 11.01.2016 um 15:46 schrieb Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi<mailto:jukka.rahkonen at maanmittauslaitos.fi>>:

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

--

This email was Virus checked by UTM 9. http://www.sophos.com<http://www.sophos.com/>




--
This email was Virus checked by UTM 9. http://www.sophos.com<http://www.sophos.com/>

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


More information about the MapProxy mailing list