On Sun, 2008-06-29 at 10:05 -0700, Matthew Rushton wrote:
> Hi,
>   I'm using mapnik to render osm data. I have things working
> relatively well except for empty tiles (land/sea). They do not get
> rendered properly at both high and low zoom levels. I've looked for
> documentation or previous questions regarding this and was unable to
> find any answers. I was also curious if mapnik had any ability to
> "detect" an empty tile and take another action to save disk space
> etc... Thanks in advance.
> -Matt
> 

What are you using to do the rendering, generate_tiles.py?
What do the tile that are 'not rendered properly' look like?
I've seen problems before with some tiles appearing black and I believe
it was due to a bug in the ImageMagick code called in the 'convert
-colors 255' step of that script. You could try removing the convert
lines and ask mapnik to save the files in 'png256' format which should
be faster as well.

I'm not aware of any code to handle the blank sea/land tile case. The
mod_tile code mitigates the disk space issues somewhat by storing the
images in blocks of 64 which makes the storage of the ~100 byte blank
tiles much more efficient.

        Jon



_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to