My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

Keymaze300toGPX

Description

Simple app to convert Keymaze 300 txt files to gpx. Coded using C++ and QT4.7.

Total track duration is splited to each point. This is the adopted solution to solve that points in txt file doesn't have timestamp.

Any improvemts will be apreciated.

Keymaze 300 TXT File

[Date]                                          -> creation date
1=2008-12-23-17:29:13
[TP]                                            -> tracks contained in file
1=2008-12-22:19:41:18
2=2008-12-23:14:58:26
3=NONE
[2008-12-22:19:41:18]                           -> first track start time
Location=2008-12-22:19:41:18,29997,8843,            -> start time, track duration: 2999.7 sec, total distance: 8843m
SPEED=2100                                          -> max speed : 21.00km/h
1=3981533,221081                                    -> first point latittude: 39.81533 longitude:2.21081
2=3981571,221087                                    -> second point....
3=3981549,221137
...
[2008-12-23:14:58:26]                           -> second track start time
Location=2008-12-23:14:58:26,69925,8407,            -> start time....
SPEED=617                                           -> max speed
1=3982415,225290                                    -> first point...
2=3982406,225218                                    -> second point...
3=3982383,225164
...
[Location]                                      ->Waypoints
1=000,0,712,3981597,225255,                         -> track num,icon , altitude :712m, latittude: 39.81597, longitude:2.25255
2=001,0,720,3981630,225168,
...
8=NONE

Windows usage:

  1. Compile source code (you need QT 4.7 installed on your system) or download binary file.
  2. Open comand line, go to app folder and type:
    • txt2gpx.exe C:\route\to\keymaze\300\somefile.txt
  3. Program will generate one file for each track inside keymaze 300 txt file:
    • somefile.txt_0.gpx
    • somefile.txt_1.gpx
    • ...
    • somefile.txt_n.gpx

Linux/Mac usage:

  1. Compile source code (you need QT 4.7 installed on your system).
  2. Open terminal, go to app folder and type:
    • ./txt2gpx /route/to/keymaze/300/somefile.txt
  3. Program will generate one file for each track inside keymaze 300 txt file:
    • somefile.txt_0.gpx
    • somefile.txt_1.gpx
    • ...
    • somefile.txt_n.gpx
Powered by Google Project Hosting