[OSM-dev] [Tilesathome] I'd like a list of the file size of all z12 tilesets

Robert Vollmert rvollmert-lists at gmx.net
Tue Jun 2 08:32:46 BST 2009


On Jun 2, 2009, at 03:27, Ævar Arnfjörð Bjarmason wrote:

> 2009/6/1 Eddy Petrișor <eddy.petrisor at gmail.com>:
>> Use a logarithmic scale for your "heat" input (probably is best to  
>> use
>> 10 as the base). So instead of min use log(min), instead of max, use
>> log(max) and so on.
>
> I tried generating a map with log($size)/log($max):
>
> http://u.nix.is/~avar/osm-heatmap-log.png
>
> I tried playing around with it a bit more, e.g. by using log10. But
> mostly I get maps that are too hot. Or was log($size)/log($max) not
> what you meant?

Maybe (log($size)-log($min)) / (log($max)-log($min)) is better?

Cheers
Robert





More information about the dev mailing list