<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link href="chrome://translator/skin/floatingPanel.css"
      type="text/css" rel="stylesheet">
    <link href="chrome://translator/skin/floatingPanel.css"
      type="text/css" rel="stylesheet">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    To support ArcGIS Rest, I made a tiny 1.6 patch that adds
    &size=<width>,< height> to a WMS requests.<br>
    By "manually" adding other &parameters=as_below, the request
    becomes ArcGIS export compatible.<br>
    After installing 1.8, I noticed correct JOSM images despite the
    patch was absent.<br>
    Not receiving size information, ArcGIS returns 400×400 tiles and
    Mapproxy seems to cope with that.<br>
    I "manually" set &size=1184,1184 according to the size I saw
    Mapproxy use routinely.<br>
    <a
href="http://geoservices.wallonie.be/arcgis/rest/services/TOPOGRAPHIE/PICC/MapServer/export?styles=&service=WMS&format=image%2Fpng&f=image&request=GetMap&dpi=90&height=1184&srs=EPSG%3A3857&version=1.1.1&bboxSR=3857&bbox=625842.501028,6539622.5054,626196.022284,6539976.02665&imageSR=3857&width=1184&transparent=True&size=1184,1184"><br>
http://geoservices.wallonie.be/arcgis/rest/services/TOPOGRAPHIE/PICC/MapServer/export?styles=&service=WMS&format=image%2Fpng&f=image&request=GetMap&dpi=90&height=1184&srs=EPSG%3A3857&version=1.1.1&bboxSR=3857&bbox=625842.501028,6539622.5054,626196.022284,6539976.02665&imageSR=3857&width=1184&transparent=True&size=1184,1184</a><br>
    <br>
    Is Mapproxy designed to build a correct cache when the tiles are
    received with a non-requested size?<br>
    Does Mapproxy always use the same size (here 1184) for a given
    configuration?<br>
    Why isn't Aron Bierbaum's patch (authored <time title="16 Aug 2013
      21:34 CEST" datetime="2013-08-16T19:34:43Z" is="relative-time">on
      16 Aug 2013</time>) integrated?<br>
    It's essentially equivalent to my hack but needs not adding the
    other parameters "manually".<br>
    Isn't supporting ArcGIS great?<br>
    <br>
    Thank you,<br>
    Cheers
    <br>
    <br>
    <table>
      <tbody>
        <tr>
          <td>André.</td>
        </tr>
      </tbody>
    </table>
    <br>
    services:<br>
      demo:<br>
      kml:<br>
      tms:<br>
      wmts:<br>
      wms:<br>
        srs: ['EPSG:4326', 'EPSG:3857', 'EPSG:900913', 'CRS:84',
    'EPSG:31370', 'EPSG:3812']<br>
        image_formats: ['image/jpeg', 'image/png', 'image/png8']<br>
    layers:<br>
      - name: SPW_BASE<br>
        title: SPW base<br>
        sources: [SPW_BASE_cache]<br>
    <br>
    caches:<br>
      SPW_BASE_cache:<br>
        sources: [SPW_BASE_source]<br>
        grids: [GLOBAL_MERCATOR]<br>
    <br>
    sources:<br>
      SPW_BASE_source:<br>
        type: wms<br>
        supported_srs: ['EPSG:3857']<br>
        image:<br>
          transparent_color: '#fdfdfd'<br>
          transparent_color_tolerance: 5<br>
        req:<br>
          url:
<a class="moz-txt-link-freetext" href="http://geoservices.wallonie.be/arcgis/rest/services/TOPOGRAPHIE/PICC/MapServer/export">http://geoservices.wallonie.be/arcgis/rest/services/TOPOGRAPHIE/PICC/MapServer/export</a>?<br>
          dpi: 90<br>
          bboxSR: 3857<br>
          imageSR: 3857<br>
          f: image<br>
          transparent: false<br>
          format: png8<br>
          size: 1184,1184<br>
    <br>
    globals:<br>
      image:<br>
        resampling_method: bicubic<br>
      cache:<br>
        link_single_color_images: true<br>
    <br>
    <br>
    <br>
    <br>
    <div style="bottom: auto; left: 11px; right: auto; top: 232px;
      display: none;" class="translator-theme-default"
      id="translator-floating-panel"> </div>
    <div style="bottom: auto; left: 338px; right: auto; top: 264px;
      display: none;" class="translator-theme-default"
      id="translator-floating-panel">
      <div title="Click to translate"
        id="translator-floating-panel-button"></div>
    </div>
  </body>
</html>