gpsbabel-misc Mailing List for GPSBabel
GPSBabel converts and transfers data like waypoints, tracks & routes.
Brought to you by:
robertl
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(11) |
Nov
(24) |
Dec
(45) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(17) |
Feb
(19) |
Mar
(26) |
Apr
(38) |
May
(20) |
Jun
(11) |
Jul
(39) |
Aug
(47) |
Sep
(14) |
Oct
(18) |
Nov
(6) |
Dec
(14) |
| 2004 |
Jan
(41) |
Feb
(46) |
Mar
(98) |
Apr
(71) |
May
(25) |
Jun
(40) |
Jul
(68) |
Aug
(59) |
Sep
(78) |
Oct
(34) |
Nov
(25) |
Dec
(52) |
| 2005 |
Jan
(51) |
Feb
(63) |
Mar
(47) |
Apr
(36) |
May
(23) |
Jun
(80) |
Jul
(78) |
Aug
(56) |
Sep
(34) |
Oct
(117) |
Nov
(145) |
Dec
(102) |
| 2006 |
Jan
(158) |
Feb
(117) |
Mar
(85) |
Apr
(116) |
May
(102) |
Jun
(80) |
Jul
(168) |
Aug
(161) |
Sep
(112) |
Oct
(88) |
Nov
(90) |
Dec
(84) |
| 2007 |
Jan
(115) |
Feb
(142) |
Mar
(76) |
Apr
(90) |
May
(165) |
Jun
(91) |
Jul
(158) |
Aug
(108) |
Sep
(58) |
Oct
(69) |
Nov
(136) |
Dec
(60) |
| 2008 |
Jan
(50) |
Feb
(87) |
Mar
(79) |
Apr
(90) |
May
(114) |
Jun
(55) |
Jul
(89) |
Aug
(105) |
Sep
(77) |
Oct
(91) |
Nov
(29) |
Dec
(89) |
| 2009 |
Jan
(83) |
Feb
(44) |
Mar
(58) |
Apr
(70) |
May
(62) |
Jun
(69) |
Jul
(96) |
Aug
(82) |
Sep
(100) |
Oct
(43) |
Nov
(44) |
Dec
(32) |
| 2010 |
Jan
(69) |
Feb
(61) |
Mar
(70) |
Apr
(85) |
May
(93) |
Jun
(145) |
Jul
(36) |
Aug
(57) |
Sep
(54) |
Oct
(89) |
Nov
(44) |
Dec
(58) |
| 2011 |
Jan
(39) |
Feb
(59) |
Mar
(29) |
Apr
(35) |
May
(37) |
Jun
(31) |
Jul
(43) |
Aug
(48) |
Sep
(23) |
Oct
(30) |
Nov
(74) |
Dec
(49) |
| 2012 |
Jan
(43) |
Feb
(35) |
Mar
(38) |
Apr
(44) |
May
(60) |
Jun
(32) |
Jul
(34) |
Aug
(43) |
Sep
(42) |
Oct
(38) |
Nov
(46) |
Dec
(21) |
| 2013 |
Jan
(16) |
Feb
(30) |
Mar
(21) |
Apr
(25) |
May
(13) |
Jun
(29) |
Jul
(31) |
Aug
(25) |
Sep
(17) |
Oct
(22) |
Nov
(19) |
Dec
(31) |
| 2014 |
Jan
(11) |
Feb
(16) |
Mar
(65) |
Apr
(27) |
May
(24) |
Jun
(45) |
Jul
(56) |
Aug
(23) |
Sep
(18) |
Oct
(26) |
Nov
(11) |
Dec
(11) |
| 2015 |
Jan
(25) |
Feb
(24) |
Mar
(30) |
Apr
(26) |
May
(25) |
Jun
(23) |
Jul
(22) |
Aug
(30) |
Sep
(17) |
Oct
(21) |
Nov
(43) |
Dec
(31) |
| 2016 |
Jan
(46) |
Feb
(55) |
Mar
(24) |
Apr
(17) |
May
(27) |
Jun
(9) |
Jul
(47) |
Aug
(15) |
Sep
(8) |
Oct
(16) |
Nov
(3) |
Dec
(17) |
| 2017 |
Jan
(3) |
Feb
(8) |
Mar
(18) |
Apr
(6) |
May
(17) |
Jun
(6) |
Jul
(22) |
Aug
(6) |
Sep
(19) |
Oct
(11) |
Nov
(20) |
Dec
(12) |
| 2018 |
Jan
|
Feb
(8) |
Mar
(7) |
Apr
(1) |
May
(24) |
Jun
(9) |
Jul
(34) |
Aug
(24) |
Sep
(17) |
Oct
(16) |
Nov
(4) |
Dec
(17) |
| 2019 |
Jan
(9) |
Feb
(4) |
Mar
(27) |
Apr
(31) |
May
(26) |
Jun
(28) |
Jul
(41) |
Aug
(29) |
Sep
(9) |
Oct
(14) |
Nov
(12) |
Dec
(38) |
| 2020 |
Jan
(13) |
Feb
|
Mar
(10) |
Apr
(4) |
May
(30) |
Jun
(10) |
Jul
(7) |
Aug
(62) |
Sep
(12) |
Oct
(5) |
Nov
(29) |
Dec
(19) |
| 2021 |
Jan
(5) |
Feb
(7) |
Mar
(11) |
Apr
(3) |
May
(29) |
Jun
(10) |
Jul
|
Aug
|
Sep
(2) |
Oct
(6) |
Nov
(1) |
Dec
(2) |
| 2022 |
Jan
(7) |
Feb
(31) |
Mar
(17) |
Apr
|
May
(3) |
Jun
(21) |
Jul
(11) |
Aug
|
Sep
(16) |
Oct
(7) |
Nov
(6) |
Dec
(6) |
| 2023 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(13) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2024 |
Jan
(8) |
Feb
(2) |
Mar
(11) |
Apr
(17) |
May
|
Jun
(4) |
Jul
(11) |
Aug
(16) |
Sep
(8) |
Oct
|
Nov
(3) |
Dec
(6) |
| 2025 |
Jan
(14) |
Feb
(6) |
Mar
|
Apr
(13) |
May
(6) |
Jun
(4) |
Jul
(6) |
Aug
(11) |
Sep
|
Oct
(5) |
Nov
(6) |
Dec
|
| 2026 |
Jan
(12) |
Feb
(2) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Greg <we...@we...> - 2026-03-05 22:16:21
|
 > On Mar 4, 2026, at 9:10 PM, ma...@mj... wrote: > > Download works for me, PayPal does not. > > > > On 2026-03-05 13:07, ran...@go... <mailto:ran...@go...> wrote: > >> Download links worked only after disabling both my VPN and Free Download Manager (FDM). >> >> Randall J. Gow >> 893 Mildred Rd. >> Mc Kee, KY 40447-7158 >> Cell: (606) 865-4321 >> Email: ran...@go... <mailto:ran...@go...> >> >> From: tsteven4 <tst...@gm... <mailto:tst...@gm...>> >> Sent: Wednesday, March 4, 2026 16:15 >> To: ran...@go... <mailto:ran...@go...>; gps...@li... <mailto:gps...@li...> >> Subject: Re: [Gpsbabel-misc] Unable to Download GPSbabel >> >> Thanks for letting us know. However all 4 download links worked for me just now. The paypal link did not work as you reported. >> >> On 3/4/2026 10:05 AM, ran...@go... <mailto:ran...@go...> wrote: >> Download links at https://www.gpsbabel.org/download.html are broken. All of the links return a webpage (plan9.php) which doesn't load. >> >> Also, while attempting to find a method of contacting you, I clicked on your PayPal donation link which also returns an error. >> >> <image001.png> >> >> Randall J. Gow >> >> >> >> >> _______________________________________________ >> Gpsbabel-misc mailing list http://www.gpsbabel.org <http://www.gpsbabel.org/> >> Gps...@li... <mailto:Gps...@li...> >> To unsubscribe, change list options, or see archives, visit: >> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc >> >> _______________________________________________ >> Gpsbabel-misc mailing list http://www.gpsbabel.org <http://www.gpsbabel.org/> >> Gps...@li... <mailto:Gps...@li...> >> To unsubscribe, change list options, or see archives, visit: >> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org <http://www.gpsbabel.org/> > Gps...@li... <mailto:Gps...@li...> > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |
|
From: <ma...@mj...> - 2026-03-05 05:27:06
|
Download works for me, PayPal does not. On 2026-03-05 13:07, ran...@go... wrote: > Download links worked only after disabling both my VPN and Free > Download Manager (FDM). > > ------------------------- > > _Randall J. Gow_ > > _893 Mildred Rd._ > > _Mc Kee, KY 40447-7158_ > > _Cell: (606) 865-4321_ > > _Email: randall.gow@gows.net_ > > From: tsteven4 <tst...@gm...> > Sent: Wednesday, March 4, 2026 16:15 > To: ran...@go...; gps...@li... > Subject: Re: [Gpsbabel-misc] Unable to Download GPSbabel > > Thanks for letting us know. However all 4 download links worked for me > just now. The paypal link did not work as you reported. > > On 3/4/2026 10:05 AM, ran...@go... wrote: > >> Download links at https://www.gpsbabel.org/download.html are broken. >> All of the links return a webpage (plan9.php) which doesn't load. >> >> Also, while attempting to find a method of contacting you, I clicked >> on your PayPal donation link which also returns an error. >> >> ------------------------- >> >> _Randall J. Gow_ >> >> _______________________________________________ >> >> Gpsbabel-misc mailing list http://www.gpsbabel.org >> >> Gps...@li... >> >> To unsubscribe, change list options, or see archives, visit: >> >> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |
|
From: <ran...@go...> - 2026-03-05 02:13:36
|
Download links worked only after disabling both my VPN and Free Download Manager (FDM). _____ Randall J. Gow 893 Mildred Rd. Mc Kee, KY 40447-7158 Cell: (606) 865-4321 Email: <mailto:ran...@go...> ran...@go... From: tsteven4 <tst...@gm...> Sent: Wednesday, March 4, 2026 16:15 To: ran...@go...; gps...@li... Subject: Re: [Gpsbabel-misc] Unable to Download GPSbabel Thanks for letting us know. However all 4 download links worked for me just now. The paypal link did not work as you reported. On 3/4/2026 10:05 AM, ran...@go... <mailto:ran...@go...> wrote: Download links at https://www.gpsbabel.org/download.html are broken. All of the links return a webpage (plan9.php) which doesn’t load. Also, while attempting to find a method of contacting you, I clicked on your PayPal donation link which also returns an error. _____ Randall J. Gow _______________________________________________ Gpsbabel-misc mailing list http://www.gpsbabel.org Gps...@li... <mailto:Gps...@li...> To unsubscribe, change list options, or see archives, visit: https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |
|
From: tsteven4 <tst...@gm...> - 2026-03-04 21:15:15
|
Thanks for letting us know. However all 4 download links worked for me just now. The paypal link did not work as you reported. On 3/4/2026 10:05 AM, ran...@go... wrote: > > Download links at https://www.gpsbabel.org/download.html are broken. > All of the links return a webpage (plan9.php) which doesn’t load. > > Also, while attempting to find a method of contacting you, I clicked > on your PayPal donation link which also returns an error. > > ------------------------------------------------------------------------ > > /Randall J. Gow/ > > > > _______________________________________________ > Gpsbabel-misc mailing listhttp://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |
|
From: <ran...@go...> - 2026-03-04 17:21:04
|
Download links at https://www.gpsbabel.org/download.html are broken. All of the links return a webpage (plan9.php) which doesn't load. Also, while attempting to find a method of contacting you, I clicked on your PayPal donation link which also returns an error. _____ Randall J. Gow |
|
From: Robert L. <rob...@gp...> - 2026-02-12 01:00:25
|
Confirming that's none of the formats in https://www.gpsbabel.org/capabilities.html ...or that i even recognize as requested in any significant way. See the first two questions at GPSBabel: Frequently Asked Questions https://www.gpsbabel.org/FAQ.html On Tue, Feb 10, 2026, 8:43 AM Peter Klemm <pet...@ou...> wrote: > Hi > > > > I have obtained some Navionics .NV2 and .NV3 files and would like to > convert them to GPX to load into a different sounder. Unfortunately I > haven’t been successful in loading them into GPSBabel – there doesn’t > appear to be a supported file format. > > > > The web searching I have done suggests that GPSBabel is the way to go, but > I’m not having any luck so far. > > > > Have downloaded the latest version today and installed onto a Windows 11 > PC. > > > > Opening the files in Notepad shows the text NAVIONICS early in the file. > Unfortunately I do not know the source device the files were downloaded > from. > > > > Does anyone have any ideas? > > > > Thanks in advance > > > > Peter > > > > > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > |
|
From: Peter K. <pet...@ou...> - 2026-02-10 14:42:49
|
Hi I have obtained some Navionics .NV2 and .NV3 files and would like to convert them to GPX to load into a different sounder. Unfortunately I haven't been successful in loading them into GPSBabel - there doesn't appear to be a supported file format. The web searching I have done suggests that GPSBabel is the way to go, but I'm not having any luck so far. Have downloaded the latest version today and installed onto a Windows 11 PC. Opening the files in Notepad shows the text NAVIONICS early in the file. Unfortunately I do not know the source device the files were downloaded from. Does anyone have any ideas? Thanks in advance Peter |
|
From: Robert L. <rob...@gp...> - 2026-01-24 17:31:22
|
> > In fact, it is (supposed to be) the timezone, but I think that the > Torque Pro just sets it wrong. > Recording GPS-style data in localtime is just a bad idea, IMO. Was it recorded when DST was in effect? What if you drive over a TZ boundary? What if the data was recorded before a locale changed TZs? Still, we should be able to handle this. Thank you, tsteven4, for tackling that. But can we get a way to override the Time header? > It is all fine that gpsbabel sets it to the current time by default, but No. Sorry. It's working per the GPX spec. You're free (and encouraged—that's the point of open source) to modify <https://github.com/GPSBabel/gpsbabel/blob/c1b200f3c12878ff6bf325b8369351d3c16e41d5/gpx.cc#L1069> your copy to do whatever you like, but we're well past the days of modifying our spec-conforming output to accommodate quirky readers that didn't read and understand the specifications. https://www.topografix.com/gpx_manual.asp#time "Creation date/time of the GPX file <https://www.topografix.com/gpx_manual.asp#time>" Supporting custom writers for every different GPX reader is the opposite of the goal of GPX. That said, i have also asked the Calimoto devs to not assume that the timestamp in the file is the time of the ride, as one cannot assume > That is the better approach. It's a drag that you're caught between two pieces of software that aren't cooperating, but it's really not our goal to be the janitor of all possible data. RJL |
|
From: Mathias K. <ma...@ko...> - 2026-01-24 15:59:45
|
Steven On 22/1/26 22:31, tsteven4 wrote: > In your data GMT is NOT the time zone abbreviation, which would be SGT > for Singapore time. The offset is +08:00. This is assumed to be > relative to UTC, i.e. UTC+08:00. This matches what would be expected > for the location indicated which is in Singapore. In fact, it is (supposed to be) the timezone, but I think that the Torque Pro just sets it wrong. I had a check through my phone settings and the Torque settings, and found no way to actually set the timezone string. I will report this to the Torque development team > > There is some progress regarding the glibc bug decoding the day of the > week, hopefully that will be fixed soon. Good to know :-) But can we get a way to override the Time header? It is all fine that gpsbabel sets it to the current time by default, but it woud be much more user-friendly if the user were given a chance to decide how it is filled That said, i have also asked the Calimoto devs to not assume that the timestamp in the file is the time of the ride, as one cannot assume that when tools like gpsbabel might be run much after the actual time the original track was recorded. > > On 1/22/2026 6:52 AM, Mathias Koerber wrote: >> >> >> On 22/1/26 04:49, tsteven4 wrote: >>> We use a version of strptime from glib. The current documentation is >>> at https://sourceware.org/glibc/manual/latest/html_mono/ >> > libc.html#Interpret-string-according-to-given-format, although our > >> version is a bit down level. python strptime is not used by gpsbabel. >>> >>> 1) glibc strptime expects the time zone abbreviation to be terminated >>> by a whitespace or at the end of a line. This is problematic with >>> your input as the numeric time zone directly follows the time zone >>> abbreviation. One way to work around this is to change your style >>> file replacing %Z by GMT. >> >> Sure, if I can be sure that all input files will be use GMT, but so >> far that is not clear. >> >> It would be useful if strptime has a means to ignore certain parts of >> the input string (maybe by specifying something like %-3.3i >> >>> IFIELD LOCAL_TIME,"","%a %b %d %H:%M:%S GMT%z %Y" >>> >>> 2) There is a bug in glibc that fails to advance the parse point in >>> the string for the abbreviated form of the weekday name for non- >>> localized weekday names. This causes an issue if the weekday name >>> isn't the last field as in your case. Normally the weekday name is >>> checked against localized versions, but we don't use localization. >>> If your data is always from the same day of the week you should be >>> able to replace %a by that literal, e.g. >>> >>> IFIELD LOCAL_TIME,"","Fri %b %d %H:%M:%S GMT%z %Y" >>> >>> I have submitted a patch to glibc for the weekday name issue. I >>> don't know when and if they will act on it. >> >> Thanks. Sadly the Weekday does change i my input data >> >> I guess I will have to extend my preprocess to replace any timezone >> abbreviation at that point with 'GMT ', esp as the parsed value is not >> interpreted by strptime (does not any field in the tm struct) >> >> >> >> Re the other issue: >>> 1. The time tag in the header is annotated as "GPX file creation time" >> > in the gpx 1.0 schema. It is optional, however gpsbabel always >> > includes it. The gpx file produced by gpsbabel should validate >> > against the gpx 1.0 or 1.1 schema. It sound like your downstream >> > program is making assumptions that aren't required by the schema. >> >> Sure, but as it often the case that avvess to the developers >> of )possibly several) downstream applications may be hard, iI think >> gpsbabel would do good to add some option to allow selective 'fudging' >> of this header to a user-specified value (or also to select the first >> or earliest individual timestamp found in the file for that header) >> >> This would make it much more user-friendly, esp when processing old >> input files for applications that use the header time for indexing. >> >> This also would avoid having to separately post=process thge gpsbabel >> output just to replace that timestamp. >> >> >> >> >> >> > Issues can be opened at https://github.com/GPSBabel/gpsbabel/issues. >> >> >>> On 1/20/2026 4:51 PM, Robert Lipe wrote: >>>> Preprocess with sed, awk, perl, python, spreadsheet, or whatever >>>> other army knife you're comfortable with... Or just go modify the >>>> xcsv parser to fit. >>>> >>>> You can just ignore fields at end of line if you're only reading. >>>> >>>> On Tue, Jan 20, 2026, 11:27 AM Mathias Koerber <ma...@ko...> >>>> wrote: >>>> >>>> I am trying to convert some triplogs from the Android Torque Pro >>>> app >>>> to GPX >>>> >>>> The format TorquePro exports is a CSV file: >>>> > GPS Time, Device Time, Longitude, Latitude,GPS Speed(km/h), >>>> Horizontal Dilution of Precision, Altitude(m), Bearing, Gravity >>>> X(G), Gravity Y(G), Gravity Z(G), >>>> > Fri Nov 19 19:52:39 GMT+08:00 2021,19-Nov-2021 >>>> 19:52:39.102,103.74247846189135,1.3347234277319422,0.5935301,400.0,39.23157153287289,12.472237,-0.041589096,0.97694755,0.07076515, >>>> > Fri Nov 19 19:52:40 GMT+08:00 2021,19-Nov-2021 >>>> 19:52:40.102,103.74257139855422,1.334281496027564,0.2867428,400.0,-21.290203536857433,168.71567,-0.041589096,0.97694755,0.07076515, >>>> >>>> I am currently syumbling over how to parse the the time formats, >>>> esp the >>>> GMT+08:00 >>>> part >>>> >>>> My current style file looks line this: >>>> > # GPSBabel Style: Torque Pro triplog >>>> > # Author: Mathias Koerber >>>> > # Version: 0.01 >>>> > # Date: 2026-01-21 >>>> > >>>> > DESCRIPTION Torque Pro triplog >>>> > EXTENSION csv >>>> > >>>> > ENCODING US-ASCII >>>> > FIELD_DELIMITER COMMA >>>> > RECORD_DELIMITER NEWLINE >>>> > >>>> > >>>> > PROLOGUE GPS Time, Device Time, Longitude, >>>> Latitude,GPS Speed(km/h), Horizontal Dilution of Precision, >>>> Altitude(m), Bearing, Gravity X(G), Gravity Y(G), Gravity Z(G), >>>> > >>>> > IFIELD LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" >>>> > IGNORE LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" >>>> > IFIELD LAT_DECIMAL,"","%f" >>>> > IFIELD LON_DECIMAL,"","%f" >>>> > IFIELD PATH_SPEED,"","%f" >>>> > IFIELD GPS_HDOP,"","%f" >>>> > IFIELD ALT_METERS,"","%.0f" >>>> >>>> However yields:> xcsv: date parse of string 'Fri Nov 19 20:05:03 >>>> GMT+08:00 2021' with format '%a %b %d %H:%M:%S %Z%z %Y' failed. >>>> >>>> So I gather the %z representing included in my system's strftime >>>> is not >>>> supported? >>>> >>>> > %z is replaced by the time zone offset from UTC; a >>>> leading plus sign stands for east of UTC, a minus sign for >>>> > west of UTC, hours and minutes follow with two digits >>>> each and no delimiter between them (common form for >>>> > RFC 822 date headers). >>>> >>>> which suggests it wants the RFC822 timezone format +HHmm but >>>> this is >>>> +HH:MM,. Python from 3.7 allows the colon for the %z conversion >>>> but that >>>> does not seem to apply here. >>>> >>>> How can I parse that part of the time definition? >>>> Is there a way to ignore parts of a field? >>>> >>>> or do I need to preprocess the files with python to reformat the >>>> timestamps? >>>> >>>> Do I also have to IGNORE the final fields (Bearing, Gravity etc) >>>> I am >>>> not interested in? >>>> (I could not find any IFIELD definitions for those) >>>> >>>> >>>> I am using gpsbabel 1.10.0 on Mac (from homebrew) >>>> >>>> >>>> Any help appreciated >>>> >>>> >>>> _______________________________________________ >>>> Gpsbabel-misc mailing list http://www.gpsbabel.org >>>> Gps...@li... >>>> To unsubscribe, change list options, or see archives, visit: >>>> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc >>>> >>>> >>>> >>>> _______________________________________________ >>>> Gpsbabel-misc mailing listhttp://www.gpsbabel.org >>>> Gps...@li... >>>> To unsubscribe, change list options, or see archives, visit: >>>> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc >> |
|
From: tsteven4 <tst...@gm...> - 2026-01-22 14:31:36
|
In your data GMT is NOT the time zone abbreviation, which would be SGT for Singapore time. The offset is +08:00. This is assumed to be relative to UTC, i.e. UTC+08:00. This matches what would be expected for the location indicated which is in Singapore. There is some progress regarding the glibc bug decoding the day of the week, hopefully that will be fixed soon. On 1/22/2026 6:52 AM, Mathias Koerber wrote: > > > On 22/1/26 04:49, tsteven4 wrote: >> We use a version of strptime from glib. The current documentation is >> at https://sourceware.org/glibc/manual/latest/html_mono/ > > libc.html#Interpret-string-according-to-given-format, although our > > version is a bit down level. python strptime is not used by gpsbabel. >> >> 1) glibc strptime expects the time zone abbreviation to be terminated >> by a whitespace or at the end of a line. This is problematic with >> your input as the numeric time zone directly follows the time zone >> abbreviation. One way to work around this is to change your style >> file replacing %Z by GMT. > > Sure, if I can be sure that all input files will be use GMT, but so > far that is not clear. > > It would be useful if strptime has a means to ignore certain parts of > the input string (maybe by specifying something like %-3.3i > >> IFIELD LOCAL_TIME,"","%a %b %d %H:%M:%S GMT%z %Y" >> >> 2) There is a bug in glibc that fails to advance the parse point in >> the string for the abbreviated form of the weekday name for >> non-localized weekday names. This causes an issue if the weekday >> name isn't the last field as in your case. Normally the weekday name >> is checked against localized versions, but we don't use >> localization. If your data is always from the same day of the week >> you should be able to replace %a by that literal, e.g. >> >> IFIELD LOCAL_TIME,"","Fri %b %d %H:%M:%S GMT%z %Y" >> >> I have submitted a patch to glibc for the weekday name issue. I >> don't know when and if they will act on it. > > Thanks. Sadly the Weekday does change i my input data > > I guess I will have to extend my preprocess to replace any timezone > abbreviation at that point with 'GMT ', esp as the parsed value is not > interpreted by strptime (does not any field in the tm struct) > > > > Re the other issue: >> 1. The time tag in the header is annotated as "GPX file creation time" > > in the gpx 1.0 schema. It is optional, however gpsbabel always > > includes it. The gpx file produced by gpsbabel should validate > > against the gpx 1.0 or 1.1 schema. It sound like your downstream > > program is making assumptions that aren't required by the schema. > > Sure, but as it often the case that avvess to the developers of > )possibly several) downstream applications may be hard, iI think > gpsbabel would do good to add some option to allow selective 'fudging' > of this header to a user-specified value (or also to select the first > or earliest individual timestamp found in the file for that header) > > This would make it much more user-friendly, esp when processing old > input files for applications that use the header time for indexing. > > This also would avoid having to separately post=process thge gpsbabel > output just to replace that timestamp. > > > > > > > Issues can be opened at https://github.com/GPSBabel/gpsbabel/issues. > > >> On 1/20/2026 4:51 PM, Robert Lipe wrote: >>> Preprocess with sed, awk, perl, python, spreadsheet, or whatever >>> other army knife you're comfortable with... Or just go modify the >>> xcsv parser to fit. >>> >>> You can just ignore fields at end of line if you're only reading. >>> >>> On Tue, Jan 20, 2026, 11:27 AM Mathias Koerber <ma...@ko...> >>> wrote: >>> >>> I am trying to convert some triplogs from the Android Torque Pro >>> app >>> to GPX >>> >>> The format TorquePro exports is a CSV file: >>> > GPS Time, Device Time, Longitude, Latitude,GPS Speed(km/h), >>> Horizontal Dilution of Precision, Altitude(m), Bearing, Gravity >>> X(G), Gravity Y(G), Gravity Z(G), >>> > Fri Nov 19 19:52:39 GMT+08:00 2021,19-Nov-2021 >>> 19:52:39.102,103.74247846189135,1.3347234277319422,0.5935301,400.0,39.23157153287289,12.472237,-0.041589096,0.97694755,0.07076515, >>> > Fri Nov 19 19:52:40 GMT+08:00 2021,19-Nov-2021 >>> 19:52:40.102,103.74257139855422,1.334281496027564,0.2867428,400.0,-21.290203536857433,168.71567,-0.041589096,0.97694755,0.07076515, >>> >>> I am currently syumbling over how to parse the the time formats, >>> esp the >>> GMT+08:00 >>> part >>> >>> My current style file looks line this: >>> > # GPSBabel Style: Torque Pro triplog >>> > # Author: Mathias Koerber >>> > # Version: 0.01 >>> > # Date: 2026-01-21 >>> > >>> > DESCRIPTION Torque Pro triplog >>> > EXTENSION csv >>> > >>> > ENCODING US-ASCII >>> > FIELD_DELIMITER COMMA >>> > RECORD_DELIMITER NEWLINE >>> > >>> > >>> > PROLOGUE GPS Time, Device Time, Longitude, >>> Latitude,GPS Speed(km/h), Horizontal Dilution of Precision, >>> Altitude(m), Bearing, Gravity X(G), Gravity Y(G), Gravity Z(G), >>> > >>> > IFIELD LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" >>> > IGNORE LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" >>> > IFIELD LAT_DECIMAL,"","%f" >>> > IFIELD LON_DECIMAL,"","%f" >>> > IFIELD PATH_SPEED,"","%f" >>> > IFIELD GPS_HDOP,"","%f" >>> > IFIELD ALT_METERS,"","%.0f" >>> >>> However yields:> xcsv: date parse of string 'Fri Nov 19 20:05:03 >>> GMT+08:00 2021' with format '%a %b %d %H:%M:%S %Z%z %Y' failed. >>> >>> So I gather the %z representing included in my system's strftime >>> is not >>> supported? >>> >>> > %z is replaced by the time zone offset from UTC; a >>> leading plus sign stands for east of UTC, a minus sign for >>> > west of UTC, hours and minutes follow with two digits >>> each and no delimiter between them (common form for >>> > RFC 822 date headers). >>> >>> which suggests it wants the RFC822 timezone format +HHmm but >>> this is >>> +HH:MM,. Python from 3.7 allows the colon for the %z conversion >>> but that >>> does not seem to apply here. >>> >>> How can I parse that part of the time definition? >>> Is there a way to ignore parts of a field? >>> >>> or do I need to preprocess the files with python to reformat the >>> timestamps? >>> >>> Do I also have to IGNORE the final fields (Bearing, Gravity etc) >>> I am >>> not interested in? >>> (I could not find any IFIELD definitions for those) >>> >>> >>> I am using gpsbabel 1.10.0 on Mac (from homebrew) >>> >>> >>> Any help appreciated >>> >>> >>> _______________________________________________ >>> Gpsbabel-misc mailing list http://www.gpsbabel.org >>> Gps...@li... >>> To unsubscribe, change list options, or see archives, visit: >>> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc >>> >>> >>> >>> _______________________________________________ >>> Gpsbabel-misc mailing listhttp://www.gpsbabel.org >>> Gps...@li... >>> To unsubscribe, change list options, or see archives, visit: >>> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > |
|
From: Mathias K. <ma...@ko...> - 2026-01-22 13:53:00
|
On 22/1/26 04:49, tsteven4 wrote: > We use a version of strptime from glib. The current documentation is at > https://sourceware.org/glibc/manual/latest/html_mono/ > libc.html#Interpret-string-according-to-given-format, although our > version is a bit down level. python strptime is not used by gpsbabel. > > 1) glibc strptime expects the time zone abbreviation to be terminated by > a whitespace or at the end of a line. This is problematic with your > input as the numeric time zone directly follows the time zone > abbreviation. One way to work around this is to change your style file > replacing %Z by GMT. Sure, if I can be sure that all input files will be use GMT, but so far that is not clear. It would be useful if strptime has a means to ignore certain parts of the input string (maybe by specifying something like %-3.3i > IFIELD LOCAL_TIME,"","%a %b %d %H:%M:%S GMT%z %Y" > > 2) There is a bug in glibc that fails to advance the parse point in the > string for the abbreviated form of the weekday name for non-localized > weekday names. This causes an issue if the weekday name isn't the last > field as in your case. Normally the weekday name is checked against > localized versions, but we don't use localization. If your data is > always from the same day of the week you should be able to replace %a by > that literal, e.g. > > IFIELD LOCAL_TIME,"","Fri %b %d %H:%M:%S GMT%z %Y" > > I have submitted a patch to glibc for the weekday name issue. I don't > know when and if they will act on it. Thanks. Sadly the Weekday does change i my input data I guess I will have to extend my preprocess to replace any timezone abbreviation at that point with 'GMT ', esp as the parsed value is not interpreted by strptime (does not any field in the tm struct) Re the other issue: > 1. The time tag in the header is annotated as "GPX file creation time" > in the gpx 1.0 schema. It is optional, however gpsbabel always > includes it. The gpx file produced by gpsbabel should validate > against the gpx 1.0 or 1.1 schema. It sound like your downstream > program is making assumptions that aren't required by the schema. Sure, but as it often the case that avvess to the developers of )possibly several) downstream applications may be hard, iI think gpsbabel would do good to add some option to allow selective 'fudging' of this header to a user-specified value (or also to select the first or earliest individual timestamp found in the file for that header) This would make it much more user-friendly, esp when processing old input files for applications that use the header time for indexing. This also would avoid having to separately post=process thge gpsbabel output just to replace that timestamp. > Issues can be opened at https://github.com/GPSBabel/gpsbabel/issues. > On 1/20/2026 4:51 PM, Robert Lipe wrote: >> Preprocess with sed, awk, perl, python, spreadsheet, or whatever other >> army knife you're comfortable with... Or just go modify the xcsv >> parser to fit. >> >> You can just ignore fields at end of line if you're only reading. >> >> On Tue, Jan 20, 2026, 11:27 AM Mathias Koerber <ma...@ko...> >> wrote: >> >> I am trying to convert some triplogs from the Android Torque Pro app >> to GPX >> >> The format TorquePro exports is a CSV file: >> > GPS Time, Device Time, Longitude, Latitude,GPS Speed(km/h), >> Horizontal Dilution of Precision, Altitude(m), Bearing, Gravity >> X(G), Gravity Y(G), Gravity Z(G), >> > Fri Nov 19 19:52:39 GMT+08:00 2021,19-Nov-2021 >> 19:52:39.102,103.74247846189135,1.3347234277319422,0.5935301,400.0,39.23157153287289,12.472237,-0.041589096,0.97694755,0.07076515, >> > Fri Nov 19 19:52:40 GMT+08:00 2021,19-Nov-2021 >> 19:52:40.102,103.74257139855422,1.334281496027564,0.2867428,400.0,-21.290203536857433,168.71567,-0.041589096,0.97694755,0.07076515, >> >> I am currently syumbling over how to parse the the time formats, >> esp the >> GMT+08:00 >> part >> >> My current style file looks line this: >> > # GPSBabel Style: Torque Pro triplog >> > # Author: Mathias Koerber >> > # Version: 0.01 >> > # Date: 2026-01-21 >> > >> > DESCRIPTION Torque Pro triplog >> > EXTENSION csv >> > >> > ENCODING US-ASCII >> > FIELD_DELIMITER COMMA >> > RECORD_DELIMITER NEWLINE >> > >> > >> > PROLOGUE GPS Time, Device Time, Longitude, >> Latitude,GPS Speed(km/h), Horizontal Dilution of Precision, >> Altitude(m), Bearing, Gravity X(G), Gravity Y(G), Gravity Z(G), >> > >> > IFIELD LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" >> > IGNORE LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" >> > IFIELD LAT_DECIMAL,"","%f" >> > IFIELD LON_DECIMAL,"","%f" >> > IFIELD PATH_SPEED,"","%f" >> > IFIELD GPS_HDOP,"","%f" >> > IFIELD ALT_METERS,"","%.0f" >> >> However yields:> xcsv: date parse of string 'Fri Nov 19 20:05:03 >> GMT+08:00 2021' with format '%a %b %d %H:%M:%S %Z%z %Y' failed. >> >> So I gather the %z representing included in my system's strftime >> is not >> supported? >> >> > %z is replaced by the time zone offset from UTC; a >> leading plus sign stands for east of UTC, a minus sign for >> > west of UTC, hours and minutes follow with two digits >> each and no delimiter between them (common form for >> > RFC 822 date headers). >> >> which suggests it wants the RFC822 timezone format +HHmm but this is >> +HH:MM,. Python from 3.7 allows the colon for the %z conversion >> but that >> does not seem to apply here. >> >> How can I parse that part of the time definition? >> Is there a way to ignore parts of a field? >> >> or do I need to preprocess the files with python to reformat the >> timestamps? >> >> Do I also have to IGNORE the final fields (Bearing, Gravity etc) I am >> not interested in? >> (I could not find any IFIELD definitions for those) >> >> >> I am using gpsbabel 1.10.0 on Mac (from homebrew) >> >> >> Any help appreciated >> >> >> _______________________________________________ >> Gpsbabel-misc mailing list http://www.gpsbabel.org >> Gps...@li... >> To unsubscribe, change list options, or see archives, visit: >> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc >> >> >> >> _______________________________________________ >> Gpsbabel-misc mailing listhttp://www.gpsbabel.org >> Gps...@li... >> To unsubscribe, change list options, or see archives, visit: >> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |
|
From: tsteven4 <tst...@gm...> - 2026-01-21 20:49:15
|
We use a version of strptime from glib. The current documentation is at https://sourceware.org/glibc/manual/latest/html_mono/libc.html#Interpret-string-according-to-given-format, although our version is a bit down level. python strptime is not used by gpsbabel. 1) glibc strptime expects the time zone abbreviation to be terminated by a whitespace or at the end of a line. This is problematic with your input as the numeric time zone directly follows the time zone abbreviation. One way to work around this is to change your style file replacing %Z by GMT. IFIELD LOCAL_TIME,"","%a %b %d %H:%M:%S GMT%z %Y" 2) There is a bug in glibc that fails to advance the parse point in the string for the abbreviated form of the weekday name for non-localized weekday names. This causes an issue if the weekday name isn't the last field as in your case. Normally the weekday name is checked against localized versions, but we don't use localization. If your data is always from the same day of the week you should be able to replace %a by that literal, e.g. IFIELD LOCAL_TIME,"","Fri %b %d %H:%M:%S GMT%z %Y" I have submitted a patch to glibc for the weekday name issue. I don't know when and if they will act on it. On 1/20/2026 4:51 PM, Robert Lipe wrote: > Preprocess with sed, awk, perl, python, spreadsheet, or whatever other > army knife you're comfortable with... Or just go modify the xcsv > parser to fit. > > You can just ignore fields at end of line if you're only reading. > > On Tue, Jan 20, 2026, 11:27 AM Mathias Koerber <ma...@ko...> > wrote: > > I am trying to convert some triplogs from the Android Torque Pro app > to GPX > > The format TorquePro exports is a CSV file: > > GPS Time, Device Time, Longitude, Latitude,GPS Speed(km/h), > Horizontal Dilution of Precision, Altitude(m), Bearing, Gravity > X(G), Gravity Y(G), Gravity Z(G), > > Fri Nov 19 19:52:39 GMT+08:00 2021,19-Nov-2021 > 19:52:39.102,103.74247846189135,1.3347234277319422,0.5935301,400.0,39.23157153287289,12.472237,-0.041589096,0.97694755,0.07076515, > > Fri Nov 19 19:52:40 GMT+08:00 2021,19-Nov-2021 > 19:52:40.102,103.74257139855422,1.334281496027564,0.2867428,400.0,-21.290203536857433,168.71567,-0.041589096,0.97694755,0.07076515, > > I am currently syumbling over how to parse the the time formats, > esp the > GMT+08:00 > part > > My current style file looks line this: > > # GPSBabel Style: Torque Pro triplog > > # Author: Mathias Koerber > > # Version: 0.01 > > # Date: 2026-01-21 > > > > DESCRIPTION Torque Pro triplog > > EXTENSION csv > > > > ENCODING US-ASCII > > FIELD_DELIMITER COMMA > > RECORD_DELIMITER NEWLINE > > > > > > PROLOGUE GPS Time, Device Time, Longitude, > Latitude,GPS Speed(km/h), Horizontal Dilution of Precision, > Altitude(m), Bearing, Gravity X(G), Gravity Y(G), Gravity Z(G), > > > > IFIELD LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" > > IGNORE LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" > > IFIELD LAT_DECIMAL,"","%f" > > IFIELD LON_DECIMAL,"","%f" > > IFIELD PATH_SPEED,"","%f" > > IFIELD GPS_HDOP,"","%f" > > IFIELD ALT_METERS,"","%.0f" > > However yields:> xcsv: date parse of string 'Fri Nov 19 20:05:03 > GMT+08:00 2021' with format '%a %b %d %H:%M:%S %Z%z %Y' failed. > > So I gather the %z representing included in my system's strftime > is not > supported? > > > %z is replaced by the time zone offset from UTC; a > leading plus sign stands for east of UTC, a minus sign for > > west of UTC, hours and minutes follow with two digits > each and no delimiter between them (common form for > > RFC 822 date headers). > > which suggests it wants the RFC822 timezone format +HHmm but this is > +HH:MM,. Python from 3.7 allows the colon for the %z conversion > but that > does not seem to apply here. > > How can I parse that part of the time definition? > Is there a way to ignore parts of a field? > > or do I need to preprocess the files with python to reformat the > timestamps? > > Do I also have to IGNORE the final fields (Bearing, Gravity etc) I am > not interested in? > (I could not find any IFIELD definitions for those) > > > I am using gpsbabel 1.10.0 on Mac (from homebrew) > > > Any help appreciated > > > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > > > > _______________________________________________ > Gpsbabel-misc mailing listhttp://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |
|
From: tsteven4 <tst...@gm...> - 2026-01-21 16:31:56
|
1. The time tag in the header is annotated as "GPX file creation time" in the gpx 1.0 schema. It is optional, however gpsbabel always includes it. The gpx file produced by gpsbabel should validate against the gpx 1.0 or 1.1 schema. It sound like your downstream program is making assumptions that aren't required by the schema. Issues can be opened at https://github.com/GPSBabel/gpsbabel/issues. 2. We have some regret over exposing strptime/strpftime to the user. I also think your problem is deeper than %z and may have exposed a bug in the current release of glibc related to the name of the day of the week! 3. I am not aware of a repository of user submitted style files other than those in https://github.com/GPSBabel/gpsbabel/tree/master/style which are included automatically as formats in gpsbabel. On 1/21/2026 8:09 AM, Mathias Koerber wrote: > I found this old thread on the -misc mailimg list: > > Thread: [Gpsbabel-misc] Converting FIT to GPX introduces weird <time> > tag https://sourceforge.net/p/gpsbabel/mailman/message/37651605/ > > and I am having the same issue. > > The recommendation there was to build one's own local copy of gpsbabel > with added functionality, > > but I wonder whether it would not be better to add an option (filter?) > that achieves this like: > > - omit the time stamp > > - use the first timestamp (chronologically) for the GPX file timestamp > > - use a time specified on the command line for the GPX file time header > > > Is the project accepting suggestions/RFE? > > > Another one I'd have is to extend the strptime support to add > > %z (on both forms: +/-HHmm and +/-HH:MM) > > Which would need to be done OS independently, as eg the MAC strptime > > library function does not support %z natively? > > > Finally, is there a repository of user-submitted style files somewhere > > > Tha > > M > > > > > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |
|
From: Mathias K. <ma...@ko...> - 2026-01-21 15:30:49
|
I found this old thread on the -misc mailimg list: Thread: [Gpsbabel-misc] Converting FIT to GPX introduces weird <time> tag https://sourceforge.net/p/gpsbabel/mailman/message/37651605/ and I am having the same issue. The recommendation there was to build one's own local copy of gpsbabel with added functionality, but I wonder whether it would not be better to add an option (filter?) that achieves this like: - omit the time stamp - use the first timestamp (chronologically) for the GPX file timestamp - use a time specified on the command line for the GPX file time header Is the project accepting suggestions/RFE? Another one I'd have is to extend the strptime support to add %z (on both forms: +/-HHmm and +/-HH:MM) Which would need to be done OS independently, as eg the MAC strptime library function does not support %z natively? Finally, is there a repository of user-submitted style files somewhere Tha M |
|
From: Robert L. <rob...@gp...> - 2026-01-20 23:52:14
|
Preprocess with sed, awk, perl, python, spreadsheet, or whatever other army knife you're comfortable with... Or just go modify the xcsv parser to fit. You can just ignore fields at end of line if you're only reading. On Tue, Jan 20, 2026, 11:27 AM Mathias Koerber <ma...@ko...> wrote: > I am trying to convert some triplogs from the Android Torque Pro app > to GPX > > The format TorquePro exports is a CSV file: > > GPS Time, Device Time, Longitude, Latitude,GPS Speed(km/h), Horizontal > Dilution of Precision, Altitude(m), Bearing, Gravity X(G), Gravity Y(G), > Gravity Z(G), > > Fri Nov 19 19:52:39 GMT+08:00 2021,19-Nov-2021 > 19:52:39.102,103.74247846189135,1.3347234277319422,0.5935301,400.0,39.23157153287289,12.472237,-0.041589096,0.97694755,0.07076515, > > Fri Nov 19 19:52:40 GMT+08:00 2021,19-Nov-2021 > 19:52:40.102,103.74257139855422,1.334281496027564,0.2867428,400.0,-21.290203536857433,168.71567,-0.041589096,0.97694755,0.07076515, > > I am currently syumbling over how to parse the the time formats, > esp the > GMT+08:00 > part > > My current style file looks line this: > > # GPSBabel Style: Torque Pro triplog > > # Author: Mathias Koerber > > # Version: 0.01 > > # Date: 2026-01-21 > > > > DESCRIPTION Torque Pro triplog > > EXTENSION csv > > > > ENCODING US-ASCII > > FIELD_DELIMITER COMMA > > RECORD_DELIMITER NEWLINE > > > > > > PROLOGUE GPS Time, Device Time, Longitude, Latitude,GPS > Speed(km/h), Horizontal Dilution of Precision, Altitude(m), Bearing, > Gravity X(G), Gravity Y(G), Gravity Z(G), > > > > IFIELD LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" > > IGNORE LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" > > IFIELD LAT_DECIMAL,"","%f" > > IFIELD LON_DECIMAL,"","%f" > > IFIELD PATH_SPEED,"","%f" > > IFIELD GPS_HDOP,"","%f" > > IFIELD ALT_METERS,"","%.0f" > > However yields:> xcsv: date parse of string 'Fri Nov 19 20:05:03 > GMT+08:00 2021' with format '%a %b %d %H:%M:%S %Z%z %Y' failed. > > So I gather the %z representing included in my system's strftime is not > supported? > > > %z is replaced by the time zone offset from UTC; a leading plus > sign stands for east of UTC, a minus sign for > > west of UTC, hours and minutes follow with two digits each > and no delimiter between them (common form for > > RFC 822 date headers). > > which suggests it wants the RFC822 timezone format +HHmm but this is > +HH:MM,. Python from 3.7 allows the colon for the %z conversion but that > does not seem to apply here. > > How can I parse that part of the time definition? > Is there a way to ignore parts of a field? > > or do I need to preprocess the files with python to reformat the > timestamps? > > Do I also have to IGNORE the final fields (Bearing, Gravity etc) I am > not interested in? > (I could not find any IFIELD definitions for those) > > > I am using gpsbabel 1.10.0 on Mac (from homebrew) > > > Any help appreciated > > > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > |
|
From: Mathias K. <ma...@ko...> - 2026-01-20 17:26:48
|
I am trying to convert some triplogs from the Android Torque Pro app to GPX The format TorquePro exports is a CSV file: > GPS Time, Device Time, Longitude, Latitude,GPS Speed(km/h), Horizontal Dilution of Precision, Altitude(m), Bearing, Gravity X(G), Gravity Y(G), Gravity Z(G), > Fri Nov 19 19:52:39 GMT+08:00 2021,19-Nov-2021 19:52:39.102,103.74247846189135,1.3347234277319422,0.5935301,400.0,39.23157153287289,12.472237,-0.041589096,0.97694755,0.07076515, > Fri Nov 19 19:52:40 GMT+08:00 2021,19-Nov-2021 19:52:40.102,103.74257139855422,1.334281496027564,0.2867428,400.0,-21.290203536857433,168.71567,-0.041589096,0.97694755,0.07076515, I am currently syumbling over how to parse the the time formats, esp the GMT+08:00 part My current style file looks line this: > # GPSBabel Style: Torque Pro triplog > # Author: Mathias Koerber > # Version: 0.01 > # Date: 2026-01-21 > > DESCRIPTION Torque Pro triplog > EXTENSION csv > > ENCODING US-ASCII > FIELD_DELIMITER COMMA > RECORD_DELIMITER NEWLINE > > > PROLOGUE GPS Time, Device Time, Longitude, Latitude,GPS Speed(km/h), Horizontal Dilution of Precision, Altitude(m), Bearing, Gravity X(G), Gravity Y(G), Gravity Z(G), > > IFIELD LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" > IGNORE LOCAL_TIME,"","%a %b %d %H:%M:%S %Z%z %Y" > IFIELD LAT_DECIMAL,"","%f" > IFIELD LON_DECIMAL,"","%f" > IFIELD PATH_SPEED,"","%f" > IFIELD GPS_HDOP,"","%f" > IFIELD ALT_METERS,"","%.0f" However yields:> xcsv: date parse of string 'Fri Nov 19 20:05:03 GMT+08:00 2021' with format '%a %b %d %H:%M:%S %Z%z %Y' failed. So I gather the %z representing included in my system's strftime is not supported? > %z is replaced by the time zone offset from UTC; a leading plus sign stands for east of UTC, a minus sign for > west of UTC, hours and minutes follow with two digits each and no delimiter between them (common form for > RFC 822 date headers). which suggests it wants the RFC822 timezone format +HHmm but this is +HH:MM,. Python from 3.7 allows the colon for the %z conversion but that does not seem to apply here. How can I parse that part of the time definition? Is there a way to ignore parts of a field? or do I need to preprocess the files with python to reformat the timestamps? Do I also have to IGNORE the final fields (Bearing, Gravity etc) I am not interested in? (I could not find any IFIELD definitions for those) I am using gpsbabel 1.10.0 on Mac (from homebrew) Any help appreciated |
|
From: job l. <job...@gm...> - 2026-01-12 14:01:31
|
Please shame on me. Forgive my stupidy. I mixed two different files thinking that I was watching a file with only W Longitudes but as a matter of fact I had opened another file with a mix of W and E Longitudes. jobloman |
|
From: tsteven4 <tst...@gm...> - 2026-01-12 13:58:26
|
Assuming you mean "gpsbabel" where you say "Babelgps" the signs of latitude and longitude appear to be handled correctly: > $ cat testsign.sh > #!/bin/bash -e > > echo "lat,lon" > both.csv > echo "-1,-1" >> both.csv > echo "-1,1" >> both.csv > echo "1,-1" >> both.csv > echo "1,1" >> both.csv > > # as waypoints > echo "as waypoints" > gpsbabel -i unicsv -f both.csv -o gdb -F both.gdb > gpsbabel -i gdb -f both.gdb > > # as a track > echo "as a track" > gpsbabel -t -i unicsv -f both.csv -o gdb -F both.gdb > gpsbabel -t -i gdb -f both.gdb -x transform,wpt=trk,del > (venv-py3132) tsteven4@PEDALDAMNIT:~$ ./testsign.sh > as waypoints > 1.000000S 1.000000W WPT001/WPT001 > 1.000000S 1.000000E WPT002/WPT002 > 1.000000N 1.000000W WPT003/WPT003 > 1.000000N 1.000000E WPT004/WPT004 > as a track > 1.000000S 1.000000W WPT001/WPT001 > 1.000000S 1.000000E WPT002/WPT002 > 1.000000N 1.000000W WPT003/WPT003 > 1.000000N 1.000000E WPT004/WPT004 On 1/12/2026 5:16 AM, job loman wrote: > Hi There, > > I have translated a Garmin GDB file into a CSV filer with the help of > Babelgps. When I look at the ranslated fike I can see that some > Longitude are written -d.ddddd and some don't have the - sign though > in the original GDB file all Longitude are W. Is there anything I can > do to get the - sign before every Longitudes ? > > Best regards. > > jobloman > > > > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |
|
From: job l. <job...@gm...> - 2026-01-12 12:16:23
|
Hi There, I have translated a Garmin GDB file into a CSV filer with the help of Babelgps. When I look at the ranslated fike I can see that some Longitude are written -d.ddddd and some don't have the - sign though in the original GDB file all Longitude are W. Is there anything I can do to get the - sign before every Longitudes ? Best regards. jobloman |
|
From: tsteven4 <tst...@gm...> - 2025-11-02 12:21:41
|
Kevin, I am testing a rewrite of the v900 format that will accommodate your file. 1) Do you give us permission to use your file in our regression tests? The file will be publicly available as part of our source repository. I would like to verify that the sample you provided was as generated from your device, i.e. you didn't modify it. 2) Do you have other samples you would like to contribute? We have some code that created waypoints from lines in the csv file with tags other than 'T'. I don't know if you can cause these to be created on your device. We have seen tags 'T', 'C', 'V' and 'G' but only have samples of 'T'. 3) Would you be willing to test an updated gpsbabel on your files? If so I can tell you how to built test code from scratch or supply an installer with the test code. If you want an installer I need to know if you are running windows, macos or linux. Thanks, Steve On 10/31/2025 7:10 PM, Kevin Bartlett wrote: > It's a Columbus "P-1 Mark II GNSS Logger" set to record in CSV format. > > On Fri, 31 Oct 2025 at 17:57, tsteven4 <tst...@gm...> wrote: > > "The the V-900 stores logs on a microSD card in a custom csv > format. This format contains NULL characters and fixed length fields" > > 1. "The the" is a bug in our documentation. > > 2. The v900 reader expects fixed length fields and cr lf line > endings. Your file does not have the expected lengths for each of > the fields. The samples we have seen are padded with nulls. Some > of your fields are shorter than expected and aren't padded, others > are longer than expected, and the last field is missing. > > Here is rendering of our sample file for the basic format, with ^@ > indicating a null character. > >> INDEX,TAG,DATE,TIME,LATITUDE N/S,LONGITUDE >> E/W,HEIGHT,SPEED,HEADING,VOX >> 68^@^@^@^@,T,090404,063510,31.765973N,035.206901E,827^@^@,12^@^@,357,^@^@^@^@^@^@^@^@^@ >> <mailto:68%5E@%5E@%5E@%5E@,T,090404,063510,31.765973N,035.206901E,827%5E@%5E@,12%5E@%5E@,357,%5E@%5E@%5E@%5E@%5E@%5E@%5E@%5E@%5E@> > There is also an advance format with more fields. > > What device created your columbus.CSV file? > > On 10/31/2025 6:24 PM, Kevin Bartlett wrote: >> Hello, >> >> The page >> https://www.gpsbabel.org/htmldoc-development/fmt_v900.html gives >> the syntax for converting a Columbus CSV file to .gpx format, but >> when I try it, I get an error message: >> >> gpsbabel -i v900 -f columbus.CSV -o gpx -F columbus.gpx >> ==> v900: skipping malformed record at line 1 >> >> I've attached the CSV file. Is it possible this failure is >> because the CSV file was uploaded from a Columbus GPS onto a >> Windows computer, and I am running gpsbabel on a Mac? Something >> to do with carriage returns and linefeeds, perhaps? >> >> Thanks, >> Kevin >> >> -- >> Kevin Bartlett | Marine Equipment Specialist >> Ocean Networks Canada | oceannetworks.ca <http://oceannetworks.ca/> >> University of Victoria Marine Technology Centre >> #206-9865 West Saanich Road, North Saanich, BC V8L 5Y8 >> *A UNIVERSITY OF VICTORIA INITIATIVE* >> >> >> _______________________________________________ >> Gpsbabel-misc mailing listhttp://www.gpsbabel.org >> Gps...@li... >> To unsubscribe, change list options, or see archives, visit: >> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > > > > -- > Kevin Bartlett | Marine Equipment Specialist > Ocean Networks Canada | oceannetworks.ca <http://oceannetworks.ca/> > University of Victoria Marine Technology Centre > #206-9865 West Saanich Road, North Saanich, BC V8L 5Y8 > *A UNIVERSITY OF VICTORIA INITIATIVE* |
|
From: Kevin B. <kp...@oc...> - 2025-11-01 02:10:48
|
Please disregard my previous message. A second "Welcome" email arrived giving the correct email address to use for this mailing list, so I'm no longer confused. -- Kevin Bartlett | Marine Equipment Specialist Ocean Networks Canada | oceannetworks.ca University of Victoria Marine Technology Centre #206-9865 West Saanich Road, North Saanich, BC V8L 5Y8 *A UNIVERSITY OF VICTORIA INITIATIVE* |
|
From: Kevin B. <kp...@oc...> - 2025-11-01 01:21:22
|
I hope I'm sending this to the right address. The page at https://www.gpsbabel.org/lists.html said to join this mailing list to ask questions, but it didn't say what to do once you've joined. I got a confirmation email, but it didn't include the address, either, and that email came from a "noreply" address, so I couldn't just reply. Eventually, I resorted to asking an AI for the email address, and this is what it came up with. So my first suggestion to gpsbabel is to make the instructions for sending support requests clearer. If I get through with this attempt, I'll follow up with my actual bug report. -- Kevin Bartlett | Marine Equipment Specialist Ocean Networks Canada | oceannetworks.ca University of Victoria Marine Technology Centre #206-9865 West Saanich Road, North Saanich, BC V8L 5Y8 *A UNIVERSITY OF VICTORIA INITIATIVE* |
|
From: Kevin B. <kp...@oc...> - 2025-11-01 01:10:57
|
It's a Columbus "P-1 Mark II GNSS Logger" set to record in CSV format. On Fri, 31 Oct 2025 at 17:57, tsteven4 <tst...@gm...> wrote: > "The the V-900 stores logs on a microSD card in a custom csv format. This > format contains NULL characters and fixed length fields" > > 1. "The the" is a bug in our documentation. > > 2. The v900 reader expects fixed length fields and cr lf line endings. > Your file does not have the expected lengths for each of the fields. The > samples we have seen are padded with nulls. Some of your fields are > shorter than expected and aren't padded, others are longer than expected, > and the last field is missing. > > Here is rendering of our sample file for the basic format, with ^@ > indicating a null character. > > INDEX,TAG,DATE,TIME,LATITUDE N/S,LONGITUDE E/W,HEIGHT,SPEED,HEADING,VOX > > 68^@^@^@^@,T,090404,063510,31.765973N,035.206901E,827^@^@,12^@^@,357,^@^@^@^@^@^@^@^@^@ > > There is also an advance format with more fields. > > What device created your columbus.CSV file? > On 10/31/2025 6:24 PM, Kevin Bartlett wrote: > > Hello, > > The page https://www.gpsbabel.org/htmldoc-development/fmt_v900.html gives > the syntax for converting a Columbus CSV file to .gpx format, but when I > try it, I get an error message: > > gpsbabel -i v900 -f columbus.CSV -o gpx -F columbus.gpx > ==> v900: skipping malformed record at line 1 > > I've attached the CSV file. Is it possible this failure is because the CSV > file was uploaded from a Columbus GPS onto a Windows computer, and I am > running gpsbabel on a Mac? Something to do with carriage returns and > linefeeds, perhaps? > > Thanks, > Kevin > > -- > Kevin Bartlett | Marine Equipment Specialist > Ocean Networks Canada | oceannetworks.ca > University of Victoria Marine Technology Centre > #206-9865 West Saanich Road, North Saanich, BC V8L 5Y8 > *A UNIVERSITY OF VICTORIA INITIATIVE* > > > _______________________________________________ > Gpsbabel-misc mailing list http://www.gp...@li... > To unsubscribe, change list options, or see archives, visit:https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > > -- Kevin Bartlett | Marine Equipment Specialist Ocean Networks Canada | oceannetworks.ca University of Victoria Marine Technology Centre #206-9865 West Saanich Road, North Saanich, BC V8L 5Y8 *A UNIVERSITY OF VICTORIA INITIATIVE* |
|
From: tsteven4 <tst...@gm...> - 2025-11-01 00:57:42
|
"The the V-900 stores logs on a microSD card in a custom csv format. This format contains NULL characters and fixed length fields" 1. "The the" is a bug in our documentation. 2. The v900 reader expects fixed length fields and cr lf line endings. Your file does not have the expected lengths for each of the fields. The samples we have seen are padded with nulls. Some of your fields are shorter than expected and aren't padded, others are longer than expected, and the last field is missing. Here is rendering of our sample file for the basic format, with ^@ indicating a null character. > INDEX,TAG,DATE,TIME,LATITUDE N/S,LONGITUDE E/W,HEIGHT,SPEED,HEADING,VOX > 68^@^@^@^@,T,090404,063510,31.765973N,035.206901E,827^@^@,12^@^@,357,^@^@^@^@^@^@^@^@^@ There is also an advance format with more fields. What device created your columbus.CSV file? On 10/31/2025 6:24 PM, Kevin Bartlett wrote: > Hello, > > The page https://www.gpsbabel.org/htmldoc-development/fmt_v900.html > gives the syntax for converting a Columbus CSV file to .gpx format, > but when I try it, I get an error message: > > gpsbabel -i v900 -f columbus.CSV -o gpx -F columbus.gpx > ==> v900: skipping malformed record at line 1 > > I've attached the CSV file. Is it possible this failure is because the > CSV file was uploaded from a Columbus GPS onto a Windows computer, and > I am running gpsbabel on a Mac? Something to do with carriage returns > and linefeeds, perhaps? > > Thanks, > Kevin > > -- > Kevin Bartlett | Marine Equipment Specialist > Ocean Networks Canada | oceannetworks.ca <http://oceannetworks.ca/> > University of Victoria Marine Technology Centre > #206-9865 West Saanich Road, North Saanich, BC V8L 5Y8 > *A UNIVERSITY OF VICTORIA INITIATIVE* > > > _______________________________________________ > Gpsbabel-misc mailing listhttp://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |
|
From: Kevin B. <kp...@oc...> - 2025-11-01 00:24:39
|
Hello, The page https://www.gpsbabel.org/htmldoc-development/fmt_v900.html gives the syntax for converting a Columbus CSV file to .gpx format, but when I try it, I get an error message: gpsbabel -i v900 -f columbus.CSV -o gpx -F columbus.gpx ==> v900: skipping malformed record at line 1 I've attached the CSV file. Is it possible this failure is because the CSV file was uploaded from a Columbus GPS onto a Windows computer, and I am running gpsbabel on a Mac? Something to do with carriage returns and linefeeds, perhaps? Thanks, Kevin -- Kevin Bartlett | Marine Equipment Specialist Ocean Networks Canada | oceannetworks.ca University of Victoria Marine Technology Centre #206-9865 West Saanich Road, North Saanich, BC V8L 5Y8 *A UNIVERSITY OF VICTORIA INITIATIVE* |