source: subversion/applications/rendering/tah-heatmap/README @ 29674

Last change on this file since 29674 was 15450, checked in by avar, 10 years ago

Add trailing newline to readme file

File size: 698 bytes
RevLine 
[15441]1This program generates a 4096x4096 PNG heatmap of the globe based on
2t@h tile sizes, see
3http://lists.openstreetmap.org/pipermail/tilesathome/2009-May/005858.html
4
5To generate the map, do:
6
7    wget http://tah.openstreetmap.org/media/filesizes.bz2
8    bzip2 -d filesizes.bz2
9    perl parse-filesize.pl filesizes > tile-sizes.dat
10    perl generate-heatmap.pl tile-sizes.dat > osm-heatmap.png
11
12extra stuff:
13
14    # Only tile sizes
15    awk '{print $2}' tile-sizes.dat |sort -n > sizes.dat
16
17    # Unique tile sizes
18    awk '{print $2}' tile-sizes.dat |sort -n > sizes-unique.dat
19
20See what RGB values are used for the heatmap:
21
[15450]22    perl heatmap-rgb-value.pl sizes-unique.dat $(tail -n1 sizes-unique.dat)
Note: See TracBrowser for help on using the repository browser.