NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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$ ./ 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 : baban@baban-desktop:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 61G 45G 13G 78% / udev 501M 180K 501M 1% /dev none 501M 356K 501M 1% /dev/shm none 501M 112K 501M 1% /var/run none 501M 0 501M 0% /var/lock none 501M 0 501M 0% /lib/init/rw /dev/sda4 9.7G 150M 9.0G 2% /data

Before I start to generate Tiles AVAIL DISK SPACE is 27GB and Inode space is 90% free


asked 12 Dec '11, 07:07

baban's gravatar image

accept rate: 0%

edited 12 Dec '11, 07:55

Frederik%20Ramm's gravatar image

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:

  • Zoom 0-11: 14 GB (what you already have)
  • Zoom 12: 42 GB (you don't have that much)
  • Zoom 13: 126 GB
  • Zoom 14: 378 GB
  • Zoom 15: 1 TB
  • Zoom 16: 3 TB
  • Zoom 17: 9 TB
  • Zoom 18: 27 TB
  • Zoom 19: 81 TB
  • Zoom 20: 240 TB

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 mkfs.ext2).

permanent link

answered 12 Dec '11, 08:04

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

I want to render tiles for India only. I tried India coordinates in But it does not generate tiles. Currently, 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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 12 Dec '11, 07:07

question was seen: 7,517 times

last updated: 12 Dec '11, 09:04

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum