[Tilecache] Current y value 5009377.084000 is too far from tile corner y -0.000800

Yves Moisan yves.moisan at boreal-is.com
Mon Nov 1 10:05:40 EDT 2010


Le 2010-11-01 05:58, Christoph Lingg a écrit :
> Hi list,
>
> 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:
>> An error occurred: Current y value 5009377.084000 is too far from tile corner y -0.000800
> 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:
>
> OpenLayers:
>> var options = {
>> projection: new OpenLayers.Projection("EPSG:900913"),
>> maxExtent: new 
>> OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
>> 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],
>> units: 'm'
>> };
>
> Tilecache:
>> [kmt]
>> type=Mapnik
>> mapfile=/home/christoph/render/style.xml
>> spherical_mercator=true
>> tms_type=google
>
> 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?
Hi Christoph,

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.

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.

HTH,

Yves

> Thanks,
> Christoph
>
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/tilecache

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20101101/d51b0615/attachment.html


More information about the Tilecache mailing list