[MapProxy] onlineresource url issue in getcapabilities response

Oliver Tonnhofer olt at omniscale.de
Fri Dec 9 10:19:00 EST 2011

On 09.12.2011, at 15:41, Sandor Csaba wrote:
> I'm setting this in my config as wms metadata (mapproxy 1.2.1):
>     md:
>       # metadata used in capabilities documents
>       title: tajertektar.hu wms service
>       abstract: This is the fantastic MapProxy.
>       online_resource: http://www.tajertektar.hu/mp

This is just for the WMS metadata and should point to some website with information about the service.

> If I request getcapabilities:
> http://tajertektar.hu/mp/service?request=getcapabilities
> I get wrong urls in the onlineresource tag of the wms requests like this:
>     <GetCapabilities>
>       <Format>application/vnd.ogc.wms_xml</Format>
>       <DCPType>
>         <HTTP>
>           <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://tajertektar.hu/service?"/></Get>

These OnlineResource entries are automatically generated and should match the URL you're using to access the capabilities. You need to tweak you deployment setup, if they are wrong. See http://mapproxy.org/docs/nightly/deployment.html#http-proxy


Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn

More information about the MapProxy mailing list