Entries from February 2009 ↓

GPX Viewer 0.1

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.

GPX Viewer 0.1

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.


Yes that’s right. Snow!

Woke up this morning. Snow outside. Listened to local radio station for school closures. Practically every school read out, apart from mine. Head to school at 8. Get sent home. As getting back, the school finally is read out on the radio :p

At about 9AM, I decided to set up my Nokia N95 propped up pointing out of my window looking at the drive and road. I used the time lapse function of the camera application, to capture a picture every 30 seconds (later changed to 10 seconds). This ran from 9AM til it got dark, so you can see the snow melt away, and then slightly come back towards the evening.

Once I downloaded all the pictures, I made a quick batch script to re size the images to 640×480 and rename them into a nice sequential set of file names. I then fed all of these into a ffmpeg command I carefully constructed:

ffmpeg -f image2 -i ./snow_%04d.jpg -s vga ../snow_normalfr.mp4

Yay. One nice mpeg4 file. Done.

Now it looks as though I’ll probably be going into school tomorrow, even though I’m supposed to be going to a University Interview at Southampton. Probably not the best idea to drive there!

Coming Up

So I haven’t blogged for a while. I have some stuff I can blog about though, which I’ll get around to. First, I made a package for Ubuntu and it’s been approved! It’s a GTK widget that lets developers embed openstreetmap in applications – With Python Bindings!

Another thing to blog about is the application I’m creating with the packaged GTK widget, which lets users analyse GPX traces.

Fingers crossed for more snow! Bye!

Edit: Made the Echo website!! http://www.bournemouthecho.co.uk/news/4096055.FRESH_SNOW_AND_ICE_THIS_MORNING_ACROSS_DORSET/