Friday, April 11, 2008

Garmin Tracklog Files

I think I just found out what to do with those Garmin Tracklog files that the new nĂ¼vis generate.

The clue was this site Garmin Nuvi 200 Track Hack

Not that I'm interested in hacking a nuvi 200.
But this is where I found the information on what to do with the 'gps.bin' tracklog file.

The clue was to get Nutrak.

But Newtrack is a utility for Windows you might say.
That is true. This guy from poland who wrote Nutrak has however included the source code.

So what do we do:

We get the Nutrak package from http://www.anpo.republika.pl/download.html

Then all we have to do is uncompress it.
From the terminal we cd into the source directory.

Now, let's compile Nutrak for Mac:
g++ main.cpp -o nutrak

Of course you have to have the Developer Tools installed to do so.

Now it compiles without any error messages.

So let's start it:
./nutrak
nutrak v0.07 (C) A.P. www.anpo.republika.pl
use: nutrak [-c] [-m] [-t seconds] gps.bin
-c - write course
-m - write miliseconds
-t - add time offset in seconds


cool ;-)