<div dir="ltr"><div> </div><div>I think the tiles are getting rendered correctly on my side as well. I get the same results if I access the WMS coming from MapServer or if I configure the .yaml file to read the .map file. I tried matching the resolutions in .yaml file to the scales coming from MapServer with a DPI of 96 - no success yet.</div>
<div> </div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 20, 2014 at 12:16 AM, TDS <span dir="ltr"><<a href="mailto:tds@tds-net.de" target="_blank">tds@tds-net.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>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>Bye, Mathias
<hr>
<font size="-1">
<a href="mailto:tds@tds-net.de" target="_blank">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><div><div class="h5">
<blockquote 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 href="mailto:andrewmrkovacs@gmail.com" target="_blank">andrewmrkovacs@gmail.com</a>>
wrote:<br type="attribution">
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div dir="ltr"><font color="#000000" size="3" face="Times New Roman">
</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" size="3" face="Times New Roman">
</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" size="3" face="Times New Roman">
</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" size="3" face="Times New Roman">
</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" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000">services:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>demo:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>tms:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>wms:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>md:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>title: OSM for
MapProxy</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span></font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font color="#000000" size="3"> </font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000">layers:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>- name: mapfile</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>title: mapfile test </font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>sources: [topo_cache]</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font color="#000000" size="3"> </font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000">caches:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>topo_cache:<span> </span></font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>grids: [global_mercator_osm]</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>sources:
[topo_mapserv]</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>meta_buffer: 10 </font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>meta_size: [4, 4]</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>format: image/png</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>max_shrink_factor: 1 </font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>request_format:
image/png</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>link_single_color_images: true</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>#disable_storage: true</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font color="#000000" size="3"> </font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font color="#000000" size="3"> </font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000">grids:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>global_mercator_osm:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span><span> </span>base: GLOBAL_GEODETIC</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>num_levels: 19</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font color="#000000" size="3"> </font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000">sources:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>topo_mapserv:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>type: mapserver</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>req:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>layers: default</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>map:
**************************.map</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>concurrent_requests: 4</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>mapserver:</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>binary:
/usr/lib/cgi-bin/mapserv</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span><font size="3"><font color="#000000"><span>
</span>working_dir:
/2T/mapproxy/mapserver</font></font></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font>
<p style="margin:0cm 0cm 10pt" class="MsoNormal"><font color="#000000" size="3" face="Calibri"> </font></p>
<font color="#000000" size="3" face="Times New Roman">
</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" size="3" face="Times New Roman">
</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" size="3" face="Times New Roman">
</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" size="3" face="Times New Roman">
</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" size="3" face="Times New Roman">
</font></div>
<br>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
MapProxy mailing list
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a></pre>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>