File conversion bug report (Mac?)

View: New views
2 Messages — Rating Filter:   Alert me  

File conversion bug report (Mac?)

by Curt Wiederhoeft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Me: absolute noob with GPS hardware, GPS file formats and GPSBabel.
Software: GPSBabel+-1.3.5 on Mac OS X, 10.4.11
Hardware: Garmin Forerunner 301, Powerbook G4

Broad description: file conversion results in output GPX file with
waypoints rather than trackpoints. I flagged this as possibly
Mac-specific because I suspect that it could very well be caused by
the GUI rather than the main program, and I have not attempted the
same conversion from the command line.

Detailed description: I am attempting to overwrite the altitude data
from my Forerunner using the more-accurate profile that I get from my
iBike Pro.

Step 1: GPSBabel set to "Tracks" operating mode.

Step 2: Downlink file to computer. Input set to Garmin receiver,
output set to GPX.  File downloads OK, with XML tags of <trkpt>.

Step 3: Convert file from GPX to TSV. Everything looks good. (no
reference to operating mode anywhere in the file)

Step 4 (performed in Excel, not GPSBabel): overwrite altitude profile
with iBike-produced data

Step 5: Convert from TSV back to GPX. Here's where my problem occurs.
The XML in the output file is tagged with <wpt>, not <trkpt>. I did
not change the radio button for Operating Mode at any time during the
process. Of course, the place I need to take the file (Ascent) will
not accept the file if it's tagged this way.

Like I mentioned above, this might be a symptom of the GUI passing
the mode argument incorrectly, but I'm just a little too ignorant
right now to attempt this conversion using the command line. Sorry.

Any thoughts? (other than post-processing the XML file to change the
tags, which actually does give me a workable file). Could try the
same steps in Windows XP come Monday July 7.

Thanks!

Curt

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: File conversion bug report (Mac?)

by adiez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> Me: absolute noob with GPS hardware, GPS file formats and GPSBabel.
> Software: GPSBabel+-1.3.5 on Mac OS X, 10.4.11
> Hardware: Garmin Forerunner 301, Powerbook G4
>
> Broad description: file conversion results in output GPX file with
> waypoints rather than trackpoints. I flagged this as possibly
> Mac-specific because I suspect that it could very well be caused by
> the GUI rather than the main program, and I have not attempted the
> same conversion from the command line.
You can see the command (see log, window menu -- show log) and try it from the terminal. I
would bet the problem is someshere else

>
> Detailed description: I am attempting to overwrite the altitude data
> from my Forerunner using the more-accurate profile that I get from my
> iBike Pro.
>
> Step 1: GPSBabel set to "Tracks" operating mode.
>
> Step 2: Downlink file to computer. Input set to Garmin receiver,
> output set to GPX.  File downloads OK, with XML tags of <trkpt>.
>
> Step 3: Convert file from GPX to TSV. Everything looks good. (no
> reference to operating mode anywhere in the file)
Do you mean csv? In the mac GUI you have three buttons for waypoints, tracks and routes.
Did you check the track one
Being that the case, your command will be
gpsbabel -t -i gpx -f yourfile.gpx -o csv -F yourfile.csv
>
> Step 4 (performed in Excel, not GPSBabel): overwrite altitude profile
> with iBike-produced data
I have very bad experiences with excel (it's smarter than I am, and change decimals to
thousands, commas to semicolomns and things like that w/o prior consent of my part), go
either for openoffice or neooffice
>
> Step 5: Convert from TSV back to GPX. Here's where my problem occurs.
> The XML in the output file is tagged with <wpt>, not <trkpt>. I did
> not change the radio button for Operating Mode at any time during the
> process. Of course, the place I need to take the file (Ascent) will
> not accept the file if it's tagged this way.
gpsbabel -t -i csv -f yourfile.csv -o gpx -F yournewfile.gpx
Ok yournewfile still have <wpt> instead of <trkpt>, edit it with texedit and replace wpt
with trkpt
>
> Like I mentioned above, this might be a symptom of the GUI passing
> the mode argument incorrectly, but I'm just a little too ignorant
> right now to attempt this conversion using the command line. Sorry.
The gui helps you out with the command.

>
> Any thoughts? (other than post-processing the XML file to change the
> tags, which actually does give me a workable file). Could try the
> same steps in Windows XP come Monday July 7.
>
> Thanks!
>
> Curt
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Gpsbabel-misc mailing list http://www.gpsbabel.org
> Gpsbabel-misc@...
> To unsubscribe, change list options, or see archives, visit:
> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
>
>
****************************************************




-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc