<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      Now that my 1.5.0 works... ;-)<br>
      <br>
      On 2013-03-08 15:42, Travis Kirstine wrote :<br>
    </div>
    <blockquote
cite="mid:CALtm4h28DPh9gLhjVeP6yGK1DNk9rBC-nbrAMknm3DT10z23Fw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Current MapProxy does not support direct connection
                to the ArcGIS REST API using the export map call. 
                Fortunately ArcGIS server is able to publish WMS
                services as well and you should be able to use the
                standard WMS connection.  If you are not familiar with
                ArcGIS server you can view the "catalog" of service
                published and determine if WMS is support (not by
                default) ...<br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Thanks to Travis I was able to access some of that server's maps
    with WMS.  But not all its maps support WMS.<br>
    I was however able to trick mapproxy into loading the correct
    "export map" images with a hacked WMS configuration.<br>
    But the size of the image was incorrect.<br>
    The only thing missing in the request is   &size=705,509 
    instead of  &width=705,&height=509<br>
    <br>
    I have verified that WMS and ArcGIS "disregard noise", i.e. they
    will both accept  "&size=705,509&width=705,&height=509".<br>
    In other words, one can make the requests "bilingual".<br>
    Mapproxy makes no other calls than equivalent to the one below, does
    it?<br>
    _ts seems unnecessary.<br>
    <br>
    But I do not know python enough to modify the program to do that
    (/usr/share/pyshared/mapproxy/request/wms/__init__.py ?).<br>
    <br>
    If someone could sketch precisely how to add that 
    &width=<w>,&height=<h> to a WMS request, I would
    make the update, test it, most probably extend the "feature" to the
    other bilingual parameters and return the update to the community.<br>
    <br>
    Cheers, <br>
    <br>
    <table>
      <tbody>
        <tr>
          <td valign="top">André.</td>
        </tr>
      </tbody>
    </table>
    <br>
<a class="moz-txt-link-freetext" href="http://geoservices.wallonie.be/arcgis/rest/services/TOPOGRAPHIE/PICC/MapServer/export?dpi=96&transparent=true&format=png8&bbox=237697.72401485278,135612.54079507195,240495.69836080144,137632.63858526756&bboxSR=31370&imageSR=31370&size=705,509&_ts=1362703550248&f=image">http://geoservices.wallonie.be/arcgis/rest/services/TOPOGRAPHIE/PICC/MapServer/export?dpi=96&transparent=true&format=png8&bbox=237697.72401485278,135612.54079507195,240495.69836080144,137632.63858526756&bboxSR=31370&imageSR=31370&size=705,509&_ts=1362703550248&f=image</a><br>
    <br>
  </body>
</html>