Nice!
Thanks Steve. I compiled gpsbabel from the source tar file in Ubuntu
12.04 LTS. If I can get the modified files I will replace them and
recompile the source.
I it will be of much help having the modified source files to automate
the analysis of cycling data.
You can use whatever you want of the file for testing.
Thank you very much for your help.
Best Regards!
Marcelo Kittlein
El 10/05/14 17:14, tsteven4 escribió:
> I will commit a change to make your file work. With this your tcx
> file, mystyle.style file and command line yields:
>
> Lat Long Watts Cadence HR Altitude Km Speed
> 19.640108 -155.997019 101.0 31 141 16 0.002070 7.452000
> 19.640108 -155.997019 101.0 31 141 16 0.002070 7.452000
> 19.640125 -155.996999 101.0 47 141 16 0.004140 7.452000
> 19.640145 -155.996971 113.0 58 141 16 0.007650 12.618000
> 19.640166 -155.996942 0.0 41 140 16 0.011450 13.716000
> 19.640192 -155.996903 137.0 57 140 16 0.015670 15.166799
> 19.640222 -155.996865 168.0 72 140 16 0.020130 16.059600
> 19.640253 -155.996827 129.0 78 140 16 0.024730 16.552800
> 19.640288 -155.996804 193.0 81 141 16 0.029740 18.0648
> ...
>
> If this particular output data is important to you I can make it
> available to you, but otherwise you will have to build from source or
> wait for the next release. I think there will be a 1.5.1 release
> relatively soon.
>
> Can we use a subset of your kona2013.tcx file as a test case? This
> would become part of our source repository and be visible to the
> public. Untested things tend to break, but if we have a test case our
> regression testing will catch related problems we might create with
> future changes.
>
> Thanks,
> Steve
>
> On 5/10/2014 1:16 PM, Marcelo Kittlein wrote:
>> Thanks Steve!
>>
>> Any tcx downloaded from garmin connect with power data shows the same
>> problem.
>>
>> A link to my tcx file
>> https://dl.dropboxusercontent.com/u/98172196/kona2013.tcx
>> A link to the output
>> https://dl.dropboxusercontent.com/u/98172196/kona2013.txt
>>
>> in case it would be of help.
>>
>> I have realized that if I replace the extension field from
>>
>> <Extensions>
>> <TPX>
>> <Speed>2.174999952316284<Speed>
>> <Watts>112<Watts>
>> <TPX>
>> </Extensions>
>>
>> to
>>
>> <Extensions>
>> <ns3:TPX>
>> <ns3:Speed>2.174999952316284</ns3:Speed>
>> <ns3:Watts>112</ns3:Watts>
>> </ns3:TPX>
>> </Extensions>
>>
>> I get Power data but not speed data. I believe that extraction within
>> the extensions delimiter may have some issue and applies differently
>> to speed and power data.
>>
>> I am using the last 1.5.0 version of gpsbabel.
>>
>> Thank you!
>>
>> Marcelo Kittlein
>>
>>
>>
>>
>>
>>
>> El 10/05/14 15:25, tsteven4 escribió:
>>> Marcelo,
>>>
>>> Can you send a tcx file that demonstrates the problem, and let us
>>> know what version of gpsbabel you are using?
>>>
>>> Thanks,
>>> Steve
>>> On 5/10/2014 7:54 AM, Marcelo Kittlein wrote:
>>>>
>>>> Dear list members
>>>>
>>>> I have been trying to convert a gamin tcx file to text format.
>>>> Everything is ok but I cannot get the power data (its a bike file).
>>>>
>>>> I used
>>>>
>>>> gpsbabel -i gtrnctr,sport=Biking -f somefile.tcx -o
>>>> xcsv,style=mystyle.style -F somefile.txt
>>>>
>>>> mystyle.style file is
>>>>
>>>> DESCRIPTION converting garmin tcx to txt
>>>> EXTENSION txt
>>>> #
>>>> # FILE LAYOUT DEFINITIIONS:
>>>> #
>>>> FIELD_DELIMITER TAB
>>>> RECORD_DELIMITER NEWLINE
>>>> BADCHARS ,"
>>>>
>>>> PROLOGUE Lat Long Watts Cadence HR Altitude Km Speed
>>>> IFIELD LAT_DECIMAL,"","%f"
>>>> IFIELD LON_DECIMAL,"","%f"
>>>> IFIELD POWER,"","%.1f"
>>>> IFIELD CADENCE,"","%d"
>>>> IFIELD HEART_RATE,"","%d"
>>>> IFIELD ALT_METERS,"","%.0f"
>>>> IFIELD PATH_DISTANCE_KM,"","%f"
>>>> IFIELD PATH_SPEED_KPH,"","%f"
>>>>
>>>> A few lines from the output file
>>>>
>>>> Lat Long Watts Cadence HR Altitude Km Velo
>>>> 19.64011 -155.9970 0 31 141 16 0.00207 7.4520
>>>> 19.64011 -155.9970 0 31 141 16 0.00207 7.4520
>>>> 19.64013 -155.9970 0 47 141 16 0.00414 7.4520
>>>> 19.64015 -155.9970 0 58 141 16 0.00765 12.6180
>>>> 19.64017 -155.9969 0 41 140 16 0.01145 13.7160
>>>> 19.64019 -155.9969 0 57 140 16 0.01567 15.1668
>>>>
>>>> As can be seen I get 0s in the Watts column where there has to be
>>>> power data (indeed available in the tcx file)
>>>>
>>>> Thanks in advance
>>>>
>>>> Marcelo Kittlein
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
>>>> • 3 signs your SCM is hindering your productivity
>>>> • Requirements for releasing software faster
>>>> • Expert tips and advice for migrating your SCM now
>>>> http://p.sf.net/sfu/perforce
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
>>> • 3 signs your SCM is hindering your productivity
>>> • Requirements for releasing software faster
>>> • Expert tips and advice for migrating your SCM now
>>> http://p.sf.net/sfu/perforce
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
>> • 3 signs your SCM is hindering your productivity
>> • Requirements for releasing software faster
>> • Expert tips and advice for migrating your SCM now
>> http://p.sf.net/sfu/perforce
>>
>>
>> _______________________________________________
>> 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
>
|