# What is the average size of all tiles for a US state?

 1 On average, if all tiles for an average US state were rendered at 15 zoom levels with default styles using Mapnik, how much would be the total used disk space by all PNG files? 200MB/500MB/1GB/5GB/1TB? I know for the whole world it is 20TB. asked 15 May '12, 19:26 LiveCarMap 41●2●2●6 accept rate: 0%

 3 To get an estimate of the number of tiles you need to cover a state, go to map.geofabrik.de and activate the "tile coordinates" overlay (from the layer switcher in the top right corner of the map). Zoom in on the state you're interested in. You'll get something like this: So, Colorado for example has about one and half tiles on zoom level 6. The number of tiles quadruples for each zoom level, so you are looking at... 1.5 tiles on z6 6 tiles on z7 24 tiles on z8 96 on z9 400 on z10 1600 on z11 6400 on z12 25k on z13 100k on z14 400k on z15 making a total of roughly 500k tiles. Now the average size of tiles is a tricky thing, it varies between zoom levels. But if your scenario includes tiles on higher zoom levels then the average size is surprisingly small - something like 2 kB. Tiles can easily reach 50kB and more but on high zooms, most of Colorado will likely be almost empty and the empty ones dominate the few large inner-city tiles. (And, tile count wise, the higher zoom levels dominate the lower ones.) So the answer to your question is that for a state the size of Colorado and up to z15, you're probably looking at 2 kB * 500k tiles = 1 GB of tile storage. answered 12 Jun '12, 08:41 Frederik Ramm ♦ 78.6k●89●695●1215 accept rate: 24% Thank you, this answers my question. (13 Jun '12, 01:32) LiveCarMap
 0 You could also find the size of a single tile and then multiply that number for the area of the state that you are trying to cover. You just have to download the vector data and determine how far across a single tile is. Then find the x and y axis for the state and then finally multiply. It will be a rough estimate but still give you a baseline. Cheers, Nicholas answered 07 Jun '12, 22:00 ingalls 31●1●1●3 accept rate: 0%
 toggle preview community wiki:

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×337
×271
×33
×29

question asked: 15 May '12, 19:26

question was seen: 7,697 times

last updated: 13 Jun '12, 01:32