On Jun 2, 2009, at 03:27, Ævar Arnfjörð Bjarmason wrote: > 2009/6/1 Eddy Petrișor <eddy.petri...@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 _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev