[MapProxy] onlineresource url issue in getcapabilities response
    Sandor Csaba 
    sandor.csaba at viamap.hu
       
    Fri Dec  9 09:41:22 EST 2011
    
    
  
Hi,
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
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:
...
  <Abstract>This is the fantastic MapProxy.</Abstract>
  <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="
http://www.tajertektar.hu/mp"/>
....
</Service>
<Capability>
  <Request>
    <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>
        </HTTP>
      </DCPType>
    </GetCapabilities>
    <GetMap>
        <Format>image/gif</Format>
        <Format>image/png</Format>
        <Format>image/tiff</Format>
        <Format>image/jpeg</Format>
        <Format>image/GeoTIFF</Format>
      <DCPType>
        <HTTP>
          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://tajertektar.hu/service?"/></Get>
        </HTTP>
      </DCPType>
    </GetMap>
    <GetFeatureInfo>
      <Format>text/plain</Format>
      <Format>text/html</Format>
      <Format>application/vnd.ogc.gml</Format>
      <DCPType>
        <HTTP>
          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://tajertektar.hu/service?"/></Get>
        </HTTP>
      </DCPType>
    </GetFeatureInfo>
  </Request>
My thick client geomedia cannot ignore this url setting and sends wrong
requests to here
http://tajertektar.hu/service?
instead of here:
http://tajertektar.hu/mp/service?
What am I missing?
Thanks,
Csaba
-- 
Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 2176 Erdőkürt, Téglaház utca 4.
Iroda:
1076 Budapest, Garay u. 29-31. I. 1.
(EMLA Környezeti Management és Jog Egyesület)
Tel: +3630/9605853
Fax: +3617002542
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20111209/9edc783a/attachment.html
    
    
More information about the MapProxy
mailing list