<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Le 2010-11-01 05:58, Christoph Lingg a écrit :
<blockquote cite="mid:6743E140-F4C3-400F-BCF1-3AEDE82A7BB9@lingg.eu"
type="cite">Hi list,
<div><br>
</div>
<div>I had a running tilecache map server and recently I updated
tilecache to the newest version. Using the same tilecache.cfg as
before, 50% of the tile requests are running as before, but the
other half end up with an error like:</div>
<div>
<blockquote type="cite">
<pre>An error occurred: Current y value 5009377.084000 is too far from tile corner y -0.000800</pre>
</blockquote>
<div>I am struggling around with this error for a couple of
hours now, having tried out a lot of parameters. My
configuration is very very basic:</div>
</div>
<div><br>
</div>
<div>OpenLayers:</div>
<div>
<blockquote type="cite">
<div style="margin: 0px; font: 11px Monaco;"><span
style="color: rgb(143, 13, 105);">var</span> options = {</div>
<div style="margin: 0px; font: 11px Monaco;"><span
class="Apple-tab-span" style="white-space: pre;"> </span>projection:
<span style="color: rgb(143, 13, 105);">new</span>
OpenLayers.Projection(<span style="color: rgb(64, 0, 255);">"EPSG:900913"</span>),</div>
<div style="margin: 0px; font: 11px Monaco;"><span
class="Apple-tab-span" style="white-space: pre;"> </span>maxExtent:
<span style="color: rgb(143, 13, 105);">new</span>
OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),</div>
<div style="margin: 0px; font: 11px Monaco;"><span
class="Apple-tab-span" style="white-space: pre;"> </span>resolutions:
[19567.879237500001, 9783.9396187500006, 4891.9698093750003,
2445.9849046875001, 1222.9924523437501, 611.49622617187504,
305.74811308593752, 152.87405654296876, 76.43702827148438,
38.21851413574219, 19.109257067871095, 9.5546285339355475,
4.7773142669677737, 2.3886571334838869],</div>
<div style="margin: 0px; font: 11px Monaco;"><span
class="Apple-tab-span" style="white-space: pre;"> </span>units:
<span style="color: rgb(64, 0, 255);">'m'</span></div>
<div style="margin: 0px; font: 11px Monaco;">};</div>
</blockquote>
<br>
</div>
<div>Tilecache:</div>
<div>
<div>
<blockquote type="cite">
<div>[kmt]</div>
<div>type=Mapnik</div>
<div>mapfile=/home/christoph/render/style.xml</div>
<div>spherical_mercator=true</div>
<div>tms_type=google</div>
</blockquote>
</div>
</div>
<div><br>
</div>
<div>Has there been changed something since the last tilecache
updates? I am not able to explain the origin of this error? Does
anybody has a hint?</div>
</blockquote>
Hi Christoph,<br>
<br>
Not a hint but a related problem. I experienced the same issue a
couple of weeks ago but in my case I got the ".. too far from corner
..." error messages after I updated to a newer version of OpenLayers
from r10165 (2.9+) to r10848 (2.10+) with the same TC code. I can't
say for sure that the change in OL version is the cause because
there are other bits of code in my environment, but I have a feeling
it has to do with a slightly different way of computing something
that has to do with bbox. <br>
<br>
I didn't investigate the issue past a quick SVN diff because I
figured I will just dump the current cache and have it regenerated
with whatever TC wants for resolutions when I'm ready to switch
environments. But I am concerned that putting newer versions bring
about issues like that.<br>
<br>
HTH,<br>
<br>
Yves<br>
<br>
<blockquote cite="mid:6743E140-F4C3-400F-BCF1-3AEDE82A7BB9@lingg.eu"
type="cite">
<div>Thanks,</div>
<div>Christoph</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Tilecache mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Tilecache@lists.osgeo.org">Tilecache@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/tilecache">http://lists.osgeo.org/mailman/listinfo/tilecache</a>
</pre>
</blockquote>
<br>
</body>
</html>