<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello List,<br>
    <br>
    Another very nice feature of MapProxy is that it also proxies
    GetFeatureInfo requests. This may come in very handy for
    applications where you can only enter the URL of a WMS service. Now
    if you type the URL of MapProxy, the application will ask the
    capabilities from MapProxy and you can configure MapProxy to answer
    that it also supports GetFeatureInfo requests.<br>
    <br>
    However, I am currently running into some problems using this
    feature:<br>
    <br>
    1. For some reason MapProxy wants the WMS GetFeatureInfo client to
    provide some extra WMT parameters?<br>
    When sending a GetFeatureInfo request like:<br>
<a class="moz-txt-link-freetext" href="http://192.168.25.189:8080/service?&amp;SERVICE=wms&amp;VERSION=1.1.0&amp;REQUEST=GetFeatureInfo&amp;EXCEPTIONS=application/vnd.ogc.se_xml&amp;SRS=EPSG:900913&amp;BBOX=515852.005913,6855223.828258,563395.837497,6885492.891453&amp;X=205&amp;Y=223&amp;INFO_FORMAT=application/vnd.ogc.gml&amp;FEATURE_COUNT=1&amp;QUERY_LAYERS=dnk&amp;LAYERS=dnk&amp;WIDTH=622&amp;HEIGHT=396">http://192.168.25.189:8080/service?&amp;SERVICE=wms&amp;VERSION=1.1.0&amp;REQUEST=GetFeatureInfo&amp;EXCEPTIONS=application/vnd.ogc.se_xml&amp;SRS=EPSG:900913&amp;BBOX=515852.005913,6855223.828258,563395.837497,6885492.891453&amp;X=205&amp;Y=223&amp;INFO_FORMAT=application/vnd.ogc.gml&amp;FEATURE_COUNT=1&amp;QUERY_LAYERS=dnk&amp;LAYERS=dnk&amp;WIDTH=622&amp;HEIGHT=396</a><br>
    <br>
    The response is:<code class="wrappedText focusRow" role="listitem"><br>
      &lt;WMTException version="1.0.0"&gt;missing parameters</code><code
      class="wrappedText focusRow" role="listitem"> ['wmtver', 'styles',
      'format']&lt;/WMTException&gt; <br>
      <br>
      If I am correct these parameters are not normally required for WMS
      GetFeatureInfo requests?<br>
      <br>
      If I send the above request directly to the original WMS server:<br>
      <a class="moz-txt-link-freetext" href="http://">http://</a></code>webservice.nieuwekaart.nl/cgi-bin/nkn<code
      class="wrappedText focusRow" role="listitem">?&amp;SERVICE=wms&amp;VERSION=1.1.0&amp;REQUEST=GetFeatureInfo&amp;EXCEPTIONS=application/vnd.ogc.se_xml&amp;SRS=EPSG:900913&amp;BBOX=515852.005913,6855223.828258,563395.837497,6885492.891453&amp;X=205&amp;Y=223&amp;INFO_FORMAT=application/vnd.ogc.gml&amp;FEATURE_COUNT=1&amp;QUERY_LAYERS=nieuwekaart&amp;LAYERS=nieuwekaart&amp;WIDTH=622&amp;HEIGHT=396<br>
      <br>
      I am getting the feature information as expected.<br>
      <br>
      2. If the remote WMS webservice uses an other projection than the
      MapProxy client, the MapProxy GetFeatureInfo request sends the
      BBOX parameters of the client projection instead of the remote
      projection to the remote server. The BBOX parameter probably
      should be reprojected from client to remote projection. I am not
      sure if the x, y, width and height parameters should be changed
      because of the re-projection.<br>
      <br>
      Anne<br>
      <br>
      <br>
    </code><br>
  </body>
</html>