Google Earth Heat Maps

29,543

Solution 1

My colleague developed an open source java program that will generate 3D heat maps (KML) files for Google Earth from simply formatted XML data files. It may be of use. The entire project code is up at https://github.com/Noblis/OSAT You can ignore the bulk of what's there, and focus on GUIMain and the supporting files. There's sample files and documentation. I'd call it about a 0.5 version - it works, we used it in our studies, but there's some rough edges. It was done for transportation accessibility studies, but you can change the parameters you're graphing to anything you want, run from command line, whatever.

You can use the vertical axis to either view the same parameter as is used for the color OR use it to map an entirely different variable.

Here's two screen shots so you can see what it does:

tool interface: tool interface, showing drive  times in DC

example 3D output: Color shows transit travel times (red better), height is population

Solution 2

This seems possible.
For instance, take a look at those few links :
Disclaimer : I've tried none of those

You've got a couple of links in those articles too ; some might be interesting too.

Solution 3

You can create polygons in a KML file and set the color of them. You can also make the polygons 3D, with height perhaps representing temperature.

Solution 4

There is also http://www.openheatmap.com, which offers free heatmaps on top of OpenStreetMap from a CSV upload.

Share:
29,543
Jeff Storey
Author by

Jeff Storey

Updated on July 18, 2022

Comments

  • Jeff Storey
    Jeff Storey almost 2 years

    Is there a way to create a heat map in google earth, so areas with higher values (of some specified parameter, such as population) appear as hotspots?

  • Jeff Storey
    Jeff Storey almost 15 years
    Thanks. I had seen most of these links - it looks like most of them are geared toward either web pages or .NET. I should have specified I'm trying to do this in the thick client application. My best hope might be to write my own heat map algorithm and then generate an overlay for google earth.
  • Pascal MARTIN
    Pascal MARTIN almost 15 years
    Ho :-( might be a bit harder, then :-( Anayway, if you find a nice solutionn, don't forget telling about it here : might help people arriving here seeing your question ! Good luck !
  • Jeff Storey
    Jeff Storey almost 15 years
    I ended up creating a heatmap on a transparent image. Google earth uses a simple cylindrical projection so it's pretty easy to calculate latitude and longitude points based on the map size. My heatmap isn't perfect, but basically I just plotted a point at each location and blended close points together to create a "brighter" point. Thanks!
  • endolith
    endolith almost 13 years
    These are all Google Maps, though, not Google Earth?
  • Lorenz Lo Sauer
    Lorenz Lo Sauer over 12 years
    The heatmap api is ridiculous! Just so they can place their logo relative to the map view, any time the user drags the heatmap it is recomputed (on their server), transmitted and redrawn! In addition you need a key/token!
  • Stealth Rabbi
    Stealth Rabbi almost 9 years
    The Sample Output directory of this project includes KML files, but they're not actually KML... they're HTML. They can't be loaded in to Google Earth, and in fact, they're not even valid XML. github.com/Noblis/OSAT/tree/master/Sample%20Output
  • ViennaMike
    ViennaMike almost 9 years
    Stealth Rabbi: which files specifically are you talking about? I just downloaded DC%20MAG%20vs.%20households.kml and opened it in Google Earth and viewed it just fine. The other .kml files also all look like valid kml when I opened them. They certainly not HTML.
  • Stealth Rabbi
    Stealth Rabbi almost 9 years
    Yes, that is one that I tried. Error on line 5, Unexpected element "html". The very first line of the file that isn't whitespace is <!DOCTYPE html>
  • Stealth Rabbi
    Stealth Rabbi almost 9 years
    Oh, crap, I was right clicking on the KML file link that I mentioned and doing a "Save As", and it was all this github link redirection crap. My apologies.