[OSM-dev] mod_tile / renderd issue
wwalker at bybent.com
Mon May 12 14:57:00 BST 2008
Thank you for the information. Given that it is rendering and storing
in the .meta file, How do I troubleshoot why it is not being served
from the .meta file (everytime I visit http://tiles/osm_tiles2/1/1/1.png,
renderd goes through rendering again)
On Mon, May 12, 2008 at 09:14:43AM +0100, Jon Burgess wrote:
> On Sun, 2008-05-11 at 21:36 -0700, wwalker wrote:
> > I've built and installed renderd and mod_tile.
> > renderd receives a request. It builds 5 images, then it deletes them!
> > extracted from an strace of renderd.
> > I can run convert_meta and it will recreate the png files, but the next
> > request, mod_tile doesn't use the existing .png, but requests a new one from
> > renderd. renderd again creates the images and deletes them ...
> > This is driving me nuts.
> The behaviour you describe is mostly intentional.
> - Renders n x n tiles into .png files ( 2 x 2 for the zoom = 1 in your
> - Reads in these n x n files, creates 1 .meta tile as a archive of
> the .png and then removes the .png
> - When it gets a request for a tile it should extract it from the .meta
> file instead of rendering again.
> You should not need to run convert_meta on the files. It is intentional
> that the code stores and serves the the data from the .meta files.
> convert_meta is really just there in case you want to debug the .meta
> files, it should not be required in normal operation.
wwalker at bybent.com Do you use Linux?!
http://www.bybent.com Get Counted! http://counter.li.org/
Perl - http://www.perl.org/ Perl User Groups - http://www.pm.org/
Jabber: wwalker at jabber.bybent.com AIM: lwwalkerbybent
IRC: wwalker on freenode.net
More information about the dev