XCSV format file for Mini-0805 dash-cam files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

XCSV format file for Mini-0805 dash-cam files

Douglas Peale

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm attempting to make a xcsv format file for the Mini-0805 dash-cam.
The translation is sort of working, but it is placing me in China instead of California.
I believe this means it is not getting the LON_DIR correctly.

The contents of the formate file are:
DESCRIPTION MINI-0803 Dashboard camera AKA E-PRANCE A7
EXTENSION log

FIELD_DELIMITER COMMA
RECORD_DELIMITER NEWLINE
DATATYPE TRACK

IFIELD IGNORE,            "",    "%14.14s"    #Indicates satilites acquired ("A"==acquired, "V"==not acquired)
IFIELD LOCAL_TIME,        "",    "%d%m%y"
IFIELD HMSL_TIME,        "",    "%02d%02d%06.3f"
IFIELD LAT_DDMMDIR,        "%f",    "%09.4f"
IFIELD LAT_DIR,            "",    "%s"
IFIELD LON_DDMMDIR,        "%f",    "%010.4f"
IFIELD LON_DIR,            "",    "%s"
IFIELD PATH_SPEED_KNOTS,    "",    "%05.1f"    #knots
IFIELD IGNORE,            "",    "%14.14s"    #meters per second Acceleration to the left
IFIELD IGNORE,            "",    "%14.14s"    #meters per second Acceleration downwards
IFIELD IGNORE,            "",    "%14.14s"    #meters per second Acceleration backwards

The contents of the track file are of this form:
A,110914,161721.000,3721.9176,N,12153.4424,W,004.8,+00.61,-09.19,+00.00;
A,110914,161722.000,3721.9174,N,12153.4435,W,002.9,+00.00,-09.19,+00.00;
A,110914,161722.000,3721.9174,N,12153.4435,W,002.9,+00.61,-09.19,+00.00;
A,110914,161724.000,3721.9166,N,12153.4449,W,002.0,+00.00,-09.80,+00.00;

There is no prolog or epilog.

The command line I am using to do the translation is:
$ gpsbabel -i xcsv,style=mini-0805.xcsv -f gps0063.log -o gpx -F test.gpx


Could someone point out what I am doing wrong so I can fix it?
Thanks

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRDVSsACgkQe5tReOauESqFmgCcCDhxdkat8SNwo/vz9yIaMicU
iBoAn3li92xEZiB/vqjdcuu67ml/s8LV
=s2Ln
-----END PGP SIGNATURE-----



------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc