This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

How do I reduce my tile size (the average tile size specified in the wiki is much smaller)?

0

well I have a question. http://wiki.openstreetmap.org/wiki/Tile_Disk_Usage says average tile size =634 bytes my minimum tile size is 22kb how do i reduce the tile size?

(this question was split from how-big-is-your-map-size-for-the-entire-world.)

asked 12 Jul '13, 19:12

mayank_punetha's gravatar image

mayank_punetha
1111
accept rate: 0%

converted to question 12 Jul '13, 22:25

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


3 Answers:

2

This information is from March 2011. As you can imagine, the tile size depends on various things. The number of objects rendered, the used stylesheet, compression level of your image. Today OSM's database is larger than back in 2011, consequently here are more objects to render and the average tile size increases. And even with the same database I expect today's stylesheets to render more objects.

answered 13 Jul '13, 09:33

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

1

It also depends very much on which tiles are being rendered. osm.org gets fairly worldwide requests, whereas your website receives different, probably much more geographically-focused requests.

So even with a setup identical to the osm.org setup, your statistics are going to be different.

(15 Jul '13, 11:38) Vincent de P... ♦

1

If you want to reduce your average tile size, render lots of tiles with just land or water in them. I am guessing that is what brings the average down on tile as mentioned on the wiki page.

answered 12 Jul '13, 23:16

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

1

Another way to reduce disk space usage is to save vector tiles instead of the usual bitmap tiles. This potentially brings a nice space saving. On the other hand, vector tiles are very much a work in progress, with different people trying different setups, and isn't really standardized or newbee-friendly yet.

If you're ready to experiment and help, please dive in. Otherwise, stick with bitmap tiles.

answered 15 Jul '13, 11:45

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%