[OSM-dev] mod_tile / renderd issue
jburgess777 at googlemail.com
Mon May 12 09:14:43 BST 2008
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.
More information about the dev