2009/6/1 Eddy Petrișor <[email protected]>:
> 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?

$size / ($median * 32) works pretty well though:

http://u.nix.is/~avar/osm-heatmap-black-2.png

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to