My OSM is ready to generate tiles, Now using mapnik I tried to generate Tiles with the help of following command: baban@baban-desktop:~/Mapserver/bin/mapnik$ ./generate_tiles.py and it generate lots of tiles, I observed that the disk space and the Inode space is almost full command : df -ih (going to be 98% used inode) Can you Please help to reduce inode size so that I can finish to generate tiles (it is now 11th zoom level and I want to go up to 20th Zoom Level) disk space :
Before I start to generate Tiles AVAIL DISK SPACE is 27GB and Inode space is 90% free PLEASE HELP ME TO REDUCE INODE USED SIZE asked 12 Dec '11, 07:07 baban Frederik Ramm ♦ |
I don't know what area you are rendering, but you write that before you start, you have 27 GB free. Then above you write that after generating up to zoom level 11, you have 13 GB left. This means that you have generated about 14 GB worth of tiles for zoom levels 0-11. Given that each zoom level will - very roughly - triple the amount of data, you should expect to require the following amount of space for all tiles:
Since many of the zoom18+ tiles are going to be empty, maybe the total amount of space you need is not that big in reality but you will certainly require several Terabytes if you want to go to z20. If your problem really were an inode problem only, then the answer would be to either use a proper tile generating system like renderd or tirex and produce metatiles (they put 64 tiles in one file, using less inodes), or else simply format your disk with a different bytes-per-inode ratio (something like "-i 8192" in answered 12 Dec '11, 08:04 Frederik Ramm ♦ I want to render tiles for India only. I tried India coordinates in generate_tiles.py. But it does not generate tiles. Currently, generate_tiles.py contains following lines. What should I change if I need tiles for India only. bbox = (-180.0,-90.0, 180.0,90.0) render_tiles(bbox, mapfile, tile_dir, 0, 15, "India")
(12 Dec '11, 09:04)
baban
|