<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Matt,<br>
      <br>
      I've been running into same problem. The tiles are rendered
      correctly. It's maybe an issue when accessing the tiles via WMS
      abstraction. I already stripped meta_size and meta_buffer from
      mapproxy.yaml - no success.<br>
      <br>
      <div class="moz-signature">Bye, Mathias
        <hr>
        <font size="-1">
          <a class="moz-txt-link-freetext" href="mailto:tds@tds-net.de">mailto:tds@tds-net.de</a><br>
        </font>
        <hr>
        <font size="-1">
          1+1=10<br>
          You have a question? - 42 or RTFM.
        </font>
      </div>
      Am 19.08.2014 um 21:01 schrieb Matt Walker:<br>
    </div>
    <blockquote
cite="mid:CACcwLY9hmw5oDhb=qXwRSreTEu+1png9feRtHJS=60ebeCUBcA@mail.gmail.com"
      type="cite">
      <p dir="ltr">Hi Andrew,</p>
      <p dir="ltr">I would look to see if DPI is a factor, it's possible
        that the requests to MapServer include a DPI parameter which my
        account for the difference.</p>
      <p dir="ltr">Matt.</p>
      <div class="gmail_quote">On 19 Aug 2014 18:00, "andrew kovacs"
        <<a moz-do-not-send="true"
          href="mailto:andrewmrkovacs@gmail.com">andrewmrkovacs@gmail.com</a>>
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr"><font color="#000000" face="Times New Roman"
              size="3">
            </font>
            <p style="margin:0cm 0cm 10pt" class="MsoNormal"><font
                size="3"><font color="#000000"><font face="Calibri">Hi,</font></font></font></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 10pt" class="MsoNormal"><font
                size="3"><font color="#000000"><font face="Calibri">I am
                    having some trouble figuring out why my cached
                    images
                    in MapProxy are a different scale than the source
                    images on MapServer.<span>  </span>I have an OSM
                    cache generated on MapServer
                    and I can query this service directly from my
                    client.<span>  </span>The WMS feed produces clear
                    images which are
                    the correct scale for my map extent.<span> 
                    </span>However, when I request the WMS feed through
                    MapProxy, the tiles that
                    are generated (from the same source as the initial
                    request) the scale appears
                    to be off.<span>  </span>The images that are
                    generated
                    at the client level are not clear.<span>  </span></font></font></font></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 10pt" class="MsoNormal"><font
                face="Calibri"><font size="3"><font color="#000000">When
                    I use MapProxy/demo on the server the data appears
                    to
                    be correct.<span>  </span>It is only when I request
                    the WMS from a client that the scale is incorrect.</font></font></font></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 10pt" class="MsoNormal"><font
                size="3"><font color="#000000"><font face="Calibri">Here
                    is my .yaml file:</font></font></font></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000">services:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span> 
                    </span>demo:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span> 
                    </span>tms:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span> 
                    </span>wms:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>md:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>       
                    </span>title: OSM for
                    MapProxy</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>  
                    </span></font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font color="#000000" size="3"> </font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000">layers:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span> 
                    </span>- name: mapfile</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>title: mapfile test </font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>sources: [topo_cache]</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font color="#000000" size="3"> </font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000">caches:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span> 
                    </span>topo_cache:<span>  </span></font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>grids: [global_mercator_osm]</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>sources:
                    [topo_mapserv]</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>meta_buffer: 10 </font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>meta_size: [4, 4]</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>format: image/png</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>max_shrink_factor: 1 </font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>request_format:
                    image/png</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>link_single_color_images: true</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>#disable_storage: true</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font color="#000000" size="3"> </font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font color="#000000" size="3"> </font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000">grids:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span> 
                    </span>global_mercator_osm:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>  
                    </span><span> </span>base: GLOBAL_GEODETIC</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>num_levels: 19</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font color="#000000" size="3"> </font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000">sources:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span> 
                    </span>topo_mapserv:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>type: mapserver</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>req:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>     
                    </span>layers: default</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>     
                    </span>map:
                    **************************.map</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>concurrent_requests: 4</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>   
                    </span>mapserver:</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>     
                    </span>binary:
                    /usr/lib/cgi-bin/mapserv</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 0pt;line-height:normal"
              class="MsoNormal"><span style="font-family:"Courier
                New""><font size="3"><font color="#000000"><span>     
                    </span>working_dir:
                    /2T/mapproxy/mapserver</font></font></span></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 10pt" class="MsoNormal"><font
                color="#000000" face="Calibri" size="3"> </font></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 10pt" class="MsoNormal"><font
                size="3"><font color="#000000"><font face="Calibri">I
                    have sample images as well but they are too large
                    for the
                    post..</font></font></font></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 10pt" class="MsoNormal"><font
                face="Calibri"><font size="3"><font color="#000000">Any
                    help would be much appreciated.<span>  </span>I
                    have playing with resolutions, tile sizes,
                    different grids, image resampling etc.. without any
                    success.</font></font></font></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 10pt" class="MsoNormal"><font
                size="3"><font color="#000000"><font face="Calibri">Thanks!</font></font></font></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font>
            <p style="margin:0cm 0cm 10pt" class="MsoNormal"><font
                size="3"><font color="#000000"><font face="Calibri">Andrew</font></font></font></p>
            <font color="#000000" face="Times New Roman" size="3">
            </font></div>
          <br>
          _______________________________________________<br>
          MapProxy mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.osgeo.org/mailman/listinfo/mapproxy"
            target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
MapProxy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapproxy">http://lists.osgeo.org/mailman/listinfo/mapproxy</a></pre>
    </blockquote>
    <br>
  </body>
</html>