pcolby / bipolar

Free your data from Polar FlowSync
GNU General Public License v3.0
115 stars 16 forks source link

Temperature data for TCX #26

Open tmiland opened 10 years ago

tmiland commented 10 years ago

Hi,

is it possible to add the temperature data in the tcx files? :-)

Regards.

pcolby commented 10 years ago

Hi @tmiland,

Yes, the temperature data is available. It's already being parsed, and unit tested. :smile:

However, there's no official way to include it in TCX. :neutral_face:

The TCX standard does allow for custom extensions. While its possible to define my own, there probably wouldn't be any applications that would do anything useful with the data.

Ideally, I'd add temperature to TCX using some extension already defined by someone else, with applications that already look for that extension. :smile:

Do you know of any applications that support temperature in TCX? If so, it'll probably make sense to leverage their format.

pc.

pcolby commented 10 years ago

Just FYI, I've create a wiki page to document TCX related stuff, including any TCX extensions we might want to implement:

https://github.com/pcolby/bipolar/wiki/TCX

tmiland commented 10 years ago

Ah, now i remember it isn't supported by tcx...

I found this info: Cluetrust GPX extension From the extensions available, Strava extracts:

cadence as cadence distance as distance hr as heartrate temp as temperature.

From here: http://strava.github.io/api/v3/uploads/

I don't know of any yet, but i'll look around. :)

pcolby commented 10 years ago

Thanks @tmiland! :+1: That's a very handy link.

Although it doesn't help with temperature in TCX (yet), it does list a couple of extensions I will add to the to-do list :smile:

roesassi commented 8 years ago

Dear @pcolby given this issue, is it better to upload to Strava the GPX files, instead of TCX? Or is the information contained exactly the same in both GPX and TCX files? Thanks for the clarification! Best

pcolby commented 8 years ago

@roesassi the bulk of the info is exactly the same - the same GPS points, heart rate, etc, but:

Personally, I use TCX for everything. However, if temperature is useful to you, then you might want to use GPX instead. They'll both be the same as far GPS position and altitude go, and thus segments ;)

Cheers.

PS Some info on what Strava supports - https://strava.github.io/api/v3/uploads/

roesassi commented 8 years ago

Dear @pcolby thanks for the information and the link Best

pcolby commented 8 years ago

As far as Strava goes, the better option might be FIT? #48

I haven't really looked at FIT before (don't have any Garmin / ANT+ products), but might have a closer look now :)

roesassi commented 8 years ago

Even better! Thanks for pointing it out. It would be great if future releases of BiPolar produced FIT file too.