Skip to content

Instantly share code, notes, and snippets.

@IReese
Created February 13, 2018 21:16
Show Gist options
  • Save IReese/f841b73a72c3542e6a7ddb73c3d784fe to your computer and use it in GitHub Desktop.
Save IReese/f841b73a72c3542e6a7ddb73c3d784fe to your computer and use it in GitHub Desktop.
Rough Calculations
https://github.com/linz/tile-services/issues/42
https://github.com/linz/tile-services/issues/41
Assuming PNG, 8bit color, and nz mainland coverage only
NZTM Zoom 15 (1:500 scale): 612850336 tiles
NZTM zoom 16 (1:250 scale): 2451401344 tiles
Webmer Zoom 19 (1:1000 scale): 228236192 tiles
Webmer zoom 20 (1:500 scale): 912944768 tiles
***************************
Assuming 40kb per tile (worst case scenario)
NZTM Zoom 15 (1:500 scale): 612850336 tiles * 40kb = 24514013440 kb
NZTM zoom 16 (1:250 scale): 2451401344 tiles * 40kb = 98056053760 kb
Webmer Zoom 19 (1:1000 scale): 228236192 tiles * 40kb = 9129447680 kb
Webmer zoom 20 (1:500 scale): 912944768 tiles * 40kb = 36517790720 kb
***************************
NZTM Zoom 15 (1:500 scale): 24514013440 kb /1024/1024/1024 = 22.83 TB (tile cache size)
NZTM zoom 16 (1:250 scale): 98056053760 kb /1024/1024/1024 = 91.32 TB (tile cache size)
Webmer Zoom 19 (1:1000 scale): 9129447680 kb /1024/1024/1024 = 8.5 TB (tile cache size)
Webmer zoom 20 (1:500 scale): 36517790720 kb /1024/1024/1024 = 34.00 TB (tile cache size)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment