This post was originally published when the blog was still hosted on Blogger. When I moved to Github Pages, I imported these without much editing, thus the layout often seems odd, and some links may be broken. You can still visit the original version here.

Awesome "heatmap" of activities

19 August 2015

It is summer, and we all have those friends, who flood our Facebook feed with tons of selfies taken during vacations across the globe. These people can buy themselves a nice Scratchmap to track which countries they have or haven't been to, or just simply do it online on one of the many sites, e.g. here.
Image source: http://www.coroflot.com/bsales/scratch-map-travel-edition
For a long time now, I wanted to do something similar based on my activities on RunKeeper, as I always try to bring my running shoes with me, wherever I go. (See the second section here.) So, I got really happy when I found AllMyRuns among the web-applications, that can connect to RunKeeper. It does exactly what I was looking for... or more precisely, it is supposed to do so. I was sad to realize, however, that I always got the error message “Authentication error: Invalid response” whenever I tried to connect to RunKeeper. (If it works for any of You, please let me know.)

Although the results are not perfect, I thought I would share an other quick approach with You, some may find it interesting.  So, here it is:

Step 1: Export all Your track data to gpx files


If You already use tapirik or FitnessSyncer and have a Dropbox account, You can set up a Dropbox backup for RunKeeper, Garmin Connect, Strava, etc. If You don't, usually there is a built-in option available as well. See the guide in case of RunKeeper here.

Step 2: Import the gpx files to uMap


uMap is a nice map drawing tool for OpenStreetMap. In order to log in, You need one of the following accounts: twitter, openstreetmap, bitbucket or github.  After this, create a new map, and use the “import data” function to upload the tons of gpx files You have. And... that's it.

The result in my case looks like this:




Step 3:  Tweak it!


uMap lets You to customize the tracks pretty nicely. Here are my tips&tricks:

  • When You import, don't import each track to a separate layer. Import them to the same layer, as all the tracks in the same layer inherit by default the settings of the layer. Thus, if You change the thickness, color, transparency, or any other property of the layer, it will change for all of the tracks automatically. You may play around by making layers separately for Running, Cycling, etc.
  • When having a distant look on the world map, I suggest the thickness of 10, and some transparency. When having a closer look, I prefer the thickness of 1 and no transparency. 
  • Unfortunately, if You have an activity that You paused somewhere and resumed let's  say 200 km away in an other city, these points will be connected by a straight line. For me, these are not too disturbing, but You can always click on them, and delete that track, if it is. 
  • One nice outcome of the closer look on my city was to realize, that there are several streets nearby, I have never ever set my foot into, despite living here for over a decade now. 


That's all folks, let me know, if You found this useful, post Your pics to facebook, twitter, whatever, and share Your best tweaks in the comments below.