Run it on your own server

Why?

This page is for people who want to run the heatmap generating code themselves because:

  • they don't want to upload their Latitude history file to a random website
  • their Latitude history file is too big for the Google App Engine quotas for them to upload

Who?

This page is for geeks who:

  • are comfortable with a command prompt
  • know how to run a Python script (e.g. installing any dependencies, etc.)
  • know how to host a web page (on a webserver, or in a public dropbox folder, etc.)

If that's you, read on.

How?

  1. Download this zip file and unzip it somewhere on your webserver
  2. The coordinates.js file contains the points used to draw the heatmap. It is empty - you need to generate your own
  3. Download your Latitude history file, name it "kml", and put it in the same directory
  4. Run latitudeparse.py and redirect the output to coordinates.js
    $ latitudeparse.py > coordinates.js
  5. Done. If you're happy with it, you don't need the kml or latitudeparse.py files any more
  6. latitude-heatmap.html contains your web page

Help?

This was knocked together in a hurry. If there's a stupid bug in there somewhere, or if I've done something wrong, please do let me know.

If you're trying to run a Python script for the first time and can't figure out what you're supposed to do, you might be better off using the version online.