M
M
ment-ru2014-10-29 14:10:48
Design
ment-ru, 2014-10-29 14:10:48

How to make a heat map?

I have a database containing a bunch of American cities, where each is associated with some value, on which I need to create a heat map. I would like to get something similar to this. e851b9c8acac4900b7e3c72fa73fc708.pngI found two more or less adequate ways to do this: Perl and the Imager::Heatmap extension or Javascript and sources from here . The first method has obvious disadvantages: it takes a terribly long time to calculate coordinates, knowing the names of cities. The second method is not bad, but for each city you have to look for its district, and this is also manual, and also long. Has anyone encountered a similar problem? Who draws these cards?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Romanov, 2014-10-29
@ment-ru

There is a hitmap on google maps. You can put markers on addresses and then reflect them in the form of a heat map. It draws very nicely. And the map itself can be styled. Make a separate style and colors of your own for roads, forests, fields, seas so that it will not look like Google Mar.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question