Noticed anything different about the blog? I hope not, as I’ve made a smooth transition to using my own VPS provided by Bitfolk. Yay! But that’s the topic of another blog post!
I’ve made a little app, with Python. This app opens up GPX trace files and allows you to view them on a map, and view basic stats. For those who don’t know, GPX files, are tracks recorded by a GPS device. Making tracks with a GPS device lets you review your journey later.

As you can see, and can possibly recognise, the trace is drawn on an openstreetmap map. This was made possible thanks to John Stower’s brilliant openstreetmap GTK widget with Python bindings. (I’ve packaged this GTK widget up for Ubuntu and it was accepted in. That was my first packaging, which I will talk about in a future blog entry!)
Go ahead and download it from http://andrewgee.org/downloads/gpxviewer
I’m going to work on Ubuntu and Debian Packages very shortly, so it’s easy to install. Are you a packager for another distribution? Would appreciate it if you’d package this up for me. It would be great if you let me know if you are going to do this.
Translations. This program is fully translatable on Launchpad at http://translations.launchpad.net/gpxviewer – Go ahead and check it out, if you know another lanuage and want to help out! Shouldn’t take too much effort, as there’re few strings to be translated at the moment!
Leave a comment to let me know what you think of the application.
7 comments ↓
Cool little application. It might be of some use to me, as I was considering writing up some walks using OSM maps, but hadn’t found a nice application to plot GPS results on. How difficult would it be to add an “Export image” function?
@Daubers: Thanks.
I’ll try to look into adding an image export function. I’m not quite sure how hard that’ll be, seeing as I use a GTK widget for the map.
/me adds that to the TODO list
Hi Andew,
Great little application. I’m a mapper/contributor to OSM, and this will definitely come in handy.
I also wanted to invite you to ubuntuweblogs.org. If you’re interested in having your weblog aggregated there, check this out[0] and drop me an email.
Tiago
[0] – http://www.ubuntuweblogs.org/submit.html
It’s been translated to Swedish!
I can see my house haha!
Very nice app, just a few small remarks:
It seems not to work when the description field of the gpx file is empty (Exception is raised at line 38 of gpximport.py).
Apparently my phone has inserted some duplicate measurements (at the same time) in the gpx file. This causes a divide by zero error in the calculation of the maximum speed, which can easily be circumvented by checking if t>0 before calculating the new speed.
Thanks for the bug report Stef,
I’ve fixed the bug and it’s been uploaded to my ppa, and there’s a new version now available at http://andrewgee.org/downloads/gpxviewer
Enjoy!
Leave a Comment