[Tilecache] [patch] tilecache seed issue
Eric Lemoine
eric.c2c at gmail.com
Wed Dec 5 03:52:35 EST 2007
On Dec 5, 2007 7:32 AM, Christopher Schmidt <crschmidt at metacarta.com> wrote:
>
> On Wed, Dec 05, 2007 at 06:37:41AM +0100, Eric Lemoine wrote:
> > Hello
> >
> > For some project of mine, I have to have a full tile cache. My
> > problem: tilecache_cache_seed.py fails to generate the cache entirely
> > - some tiles miss. The attached patch corrects the problem. Does the
> > patch make any sense?
>
> I'm assuming you're using 1.9 rather than trunk.
That's correct.
> in the trunk
> tilecache/client.py, seed does this:
>
> tile = Tile(layer,x,y,z)
> bounds = tile.bounds()
> svc.renderTile(tile)
>
> Which makes the point moot. (There are other problems here, but this one
> goes away.)
>
> If you can live with a local patch for now,I'll work on doing something
> to the 1.9 branch that will resolve this situation. I don't like the
> idea of changing a round to a ceiling, I fear floating point errors (and
> have already bumped into them elsewhere in the code).
Ok, I can definitely live with my patch for now.
Thanks,
--
Eric
More information about the Tilecache
mailing list