OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Cadence in gpx file

View previous topic View next topic Go down

Cadence in gpx file

Post  fabrylama on Tue Feb 05, 2013 9:13 pm

Hi Orux,
do you plan on saving the cadence data into the gpx file?
Thanks
Fabrizio

fabrylama

Cantidad de envíos : 96
Fecha de inscripción : 2012-06-25

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  fabrylama on Mon Feb 18, 2013 12:25 pm

up

fabrylama

Cantidad de envíos : 96
Fecha de inscripción : 2012-06-25

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  potifa on Sat Feb 23, 2013 7:33 am

I want to support this one. Smile

potifa

Cantidad de envíos : 20
Fecha de inscripción : 2012-10-01

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  hommie on Sun Feb 24, 2013 7:00 am

this would be a great improvement. why have cadence if you cant use it for post ride eval?

hommie

Cantidad de envíos : 7
Fecha de inscripción : 2012-11-21

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  boony on Sun Feb 24, 2013 1:21 pm

I would like this feature as well Very Happy

boony

Cantidad de envíos : 6
Fecha de inscripción : 2013-02-02

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  orux on Thu Mar 28, 2013 6:48 pm

boony wrote:I would like this feature as well Very Happy

Please, try last beta--> www.oruxmaps.com/cs

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  fabrylama on Thu Mar 28, 2013 6:56 pm

Thank you Orux Very Happy
I'll test it tomorrow, if it stops raining... it's always raining! Sad

fabrylama

Cantidad de envíos : 96
Fecha de inscripción : 2012-06-25

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  fabrylama on Fri Mar 29, 2013 1:51 pm

Hi Orux,
cadence data are correctly recorded into the gpx file, but sporttracks doesn't load them, I also tried with gpsbabel but nothing.
So I tried to look into the gpx:
one sample point:
Code:

<trkpt lat="45.54617633" lon="10.22522513">
<ele>170.56</ele>
<time>2013-03-29T10:38:09Z</time>
   <extensions>
      <gpxtpx:TrackPointExtension>
         <gpxtpx:hr>117</gpxtpx:hr>
      </gpxtpx:TrackPointExtension>
   </extensions>
   <extensions>
      <gpxtpx:TrackPointExtension>
         <gpxtpx:cad>0.0</gpxtpx:cad>
      </gpxtpx:TrackPointExtension>
   </extensions>
</trkpt>

The problem is the closing and immediately opening of tag "extensions" after the hr data. I modified all the points simply removing

Code:

   <gpxtpx:TrackPointExtension>
</extensions>
<extensions>
   <gpxtpx:TrackPointExtension>

Now the points are like this:
Code:

<trkpt lat="45.54617633" lon="10.22522513">
<ele>170.56</ele>
<time>2013-03-29T10:38:09Z</time>
<extensions>
   <gpxtpx:TrackPointExtension>
      <gpxtpx:hr>117</gpxtpx:hr>
      <gpxtpx:cad>0.0</gpxtpx:cad>
   </gpxtpx:TrackPointExtension>
</extensions>
</trkpt>
And cadence is loaded correctly in sporttracks.
Thank you for this amazing app
Fabrizio

Ps. What do you think about adding the millisecond data in the time field? Since I believe the polling isn't exactly every 1000ms, but, judging from the gpx points, every ~1050ms, it would add precision to the data. Gpx data accept time with milliseconds formatted like
<time>2013-03-29T10:38:09.125Z</time>

fabrylama

Cantidad de envíos : 96
Fecha de inscripción : 2012-06-25

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  orux on Fri Mar 29, 2013 6:38 pm

fabrylama wrote:Hi Orux,
cadence data are correctly recorded into the gpx file, but sporttracks doesn't load them, I also tried with gpsbabel but nothing.
So I tried to look into the gpx:
one sample point:


The problem is the closing and immediately opening of tag "extensions" after the hr data. I modified all the points simply removing



Now the points are like this:

And cadence is loaded correctly in sporttracks.
Thank you for this amazing app
Fabrizio

Ps. What do you think about adding the millisecond data in the time field? Since I believe the polling isn't exactly every 1000ms, but, judging from the gpx points, every ~1050ms, it would add precision to the data. Gpx data accept time with milliseconds formatted like
<time>2013-03-29T10:38:09.125Z</time>


Thanks;

try with last beta-->www.oruxmaps.com/cs

joined hr & cad if exists,

added miliseconds to the timestamps. But be careful! The gps point timestamp is correct, but the value of pulse and/or cadence may correspond to a point in time earlier/later, in a range of +/-3 seconds. Note that the sensors events occur in different time moments.

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  fabrylama on Sat Mar 30, 2013 12:36 am

orux wrote:
Thanks;

try with last beta-->www.oruxmaps.com/cs

joined hr & cad if exists,

added miliseconds to the timestamps. But be careful! The gps point timestamp is correct, but the value of pulse and/or cadence may correspond to a point in time earlier/later, in a range of +/-3 seconds. Note that the sensors events occur in different time moments.

orux

I'll test asap, thank you also for the milliseconds! A few seconds delay in the ant data is not a problem!
Fabrizio

fabrylama

Cantidad de envíos : 96
Fecha de inscripción : 2012-06-25

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  fabrylama on Sun Mar 31, 2013 1:39 pm

Hi orux, cadence works perfectly, also milliseconds are recorded correctly, but I just discovered that sporttracks has problems managing gpx with milliseconds in the timestamp, it loads them fine, but the speed graph is very erratic, with a LOT of spikes Evil or Very Mad . I believe it's better to revert back to rounding to the nearest second or at least add an option to switch on/off milliseconds.
Thank you again
Fabrizio

fabrylama

Cantidad de envíos : 96
Fecha de inscripción : 2012-06-25

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  orux on Mon Apr 01, 2013 3:11 pm

fabrylama wrote:Hi orux, cadence works perfectly, also milliseconds are recorded correctly, but I just discovered that sporttracks has problems managing gpx with milliseconds in the timestamp, it loads them fine, but the speed graph is very erratic, with a LOT of spikes Evil or Very Mad . I believe it's better to revert back to rounding to the nearest second or at least add an option to switch on/off milliseconds.
Thank you again
Fabrizio

Yes, I have found some problems with some apps and miliseconds: I am going to revert that option.

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  Nieschinhio on Sun Apr 07, 2013 4:51 pm

Hi!
Great App!

I've noticed the same problem. I use a Garmin GSC 10 cadence + speed sensor. It works nice in the dashboard, but the data isn't included in the gpx file? Any possibility to change that? I export the data to trainingstagebuch.org and wondered about the missing speed and the strange speed. After checking the gpx file, I saw that the Ant+ data was not included...only the hr data.

Nieschinhio

Cantidad de envíos : 4
Fecha de inscripción : 2013-04-07

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  orux on Sun Apr 07, 2013 4:52 pm

Nieschinhio wrote:Hi!
Great App!

I've noticed the same problem. I use a Garmin GSC 10 cadence + speed sensor. It works nice in the dashboard, but the data isn't included in the gpx file? Any possibility to change that? I export the data to trainingstagebuch.org and wondered about the missing speed and the strange speed. After checking the gpx file, I saw that the Ant+ data was not included...only the hr data.

Hi,

try with last beta--> www.oruxmaps.com/cs

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  Nieschinhio on Sun Apr 07, 2013 4:58 pm

Speed also included? In the changelog only cadence is mentioned. I'll try it.

Nieschinhio

Cantidad de envíos : 4
Fecha de inscripción : 2013-04-07

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  orux on Sun Apr 07, 2013 5:02 pm

Nieschinhio wrote:Speed also included? In the changelog only cadence is mentioned. I'll try it.

Hi, only cadence,

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  Nieschinhio on Sun Apr 07, 2013 5:04 pm

Any plans to include also speed in an upcoming version?

Nieschinhio

Cantidad de envíos : 4
Fecha de inscripción : 2013-04-07

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  Nieschinhio on Tue Apr 09, 2013 6:58 am

Any suggestions?

Nieschinhio

Cantidad de envíos : 4
Fecha de inscripción : 2013-04-07

View user profile

Back to top Go down

ANT+ Speed data to GPX file

Post  donpro on Mon Jul 15, 2013 2:48 pm

Hey Orux,

I would also be very happy if you could include ANT+ Speed data into the GPX file, as the accuracy of the speed sensor is much higher than the speed computed from GPS data.

Another interesting quantity would be the temperature (in °C, taken from the battery, system board, wherever, I do not know where the temperature sensors are located). Due to the high air convection when being mounted on the stem or the handlebars of a bike, the temperatures shown by my Xperia Active seem to reflect outside air conditions surprisingly accurately ...

Here are some XML tags for including temperature as well, as Garmin does it:
http://www8.garmin.com/xmlschemas/TrackPointExtensionv1.xsd

Thank you very much for any help!

Cheers,

Donpro

donpro

Cantidad de envíos : 16
Fecha de inscripción : 2012-05-03

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  dvraemdo on Sat Aug 03, 2013 11:18 am

donpro wrote:Hey Orux,

I would also be very happy if you could include ANT+ Speed data into the GPX file, as the accuracy of the speed sensor is much higher than the speed computed from GPS data.

Another interesting quantity would be the temperature (in °C, taken from the battery, system board, wherever, I do not know where the temperature sensors are located). Due to the high air convection when being mounted on the stem or the handlebars of a bike, the temperatures shown by my Xperia Active seem to reflect outside air conditions surprisingly accurately ...


Have to agree with 'donpro': addition of the ability to log temperature would be nice! I als own a Xperia Active, and I use the IpBike app, which logs temperature. It even has two options: logging with the temperature sensor of the battery, or with the external 'Garmin Tempe' (ANT+) sensor.

I have the Garmin Tempe, and it works very well. Would be great if I could also use it in Oruxmaps (IpBike is ideal for biking, not so good for hiking). Any chance of getting it to work in one of the feature updates? Thanks in advance!

dvraemdo

Cantidad de envíos : 4
Fecha de inscripción : 2012-05-08

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  donpro on Tue Sep 17, 2013 8:28 pm

Hey Orux,

I'm also interested in the inclusion of ANT+ speed data in the gpx file, which is much more accurate than the speed computed from GPS data. That would be a another great feature!

Thank you!

All the best,

Donpro

donpro

Cantidad de envíos : 16
Fecha de inscripción : 2012-05-03

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  fabrylama on Tue Sep 17, 2013 8:31 pm

donpro wrote:Hey Orux,

I'm also interested in the inclusion of ANT+ speed data in the gpx file, which is much more accurate than the speed computed from GPS data. That would be a another great feature!

Thank you!

All the best,

Donpro
Hi, as far as I know speed data can't be added to the gpx format.

fabrylama

Cantidad de envíos : 96
Fecha de inscripción : 2012-06-25

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  donpro on Tue Sep 17, 2013 9:04 pm

Hi,

thank you for your response!

Searching the web, I found something under OPTIONAL ELEMENTS on
http://www.topografix.com/gpx_manual.asp
There exists a tag <speed>, which can be used under <trkpt>:
Optional in: <wpt> <rtept> <trkpt>
Units: meters per second
<speed>4.23</speed>
Instantaneous speed at the point.

Did I get it wrong?

Nevertheless, I don't really care about gpx, I would also be interested if the ANT+ speed (like heartrate and cadence) is stored somewhere in the database of Oruxmaps? A ascii or csv-export would also be interesting for me, using it for a simple analysis of track data (for example, using LibreOffice Calc).

All the best

Donpro


Last edited by donpro on Tue Sep 17, 2013 9:23 pm; edited 1 time in total

donpro

Cantidad de envíos : 16
Fecha de inscripción : 2012-05-03

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  fabrylama on Tue Sep 17, 2013 9:21 pm

donpro wrote: Hi,

thank you for your response!

Searching the web, I found something under OPTIONAL ELEMENTS on
http://www.topografix.com/gpx_manual.asp
There exists a tag <speed>, which can be used under <trkpt>:
Optional in: <wpt> <rtept> <trkpt>
Units: meters per second
<speed>4.23</speed>
Instantaneous speed at the point.

Did I get it wrong?
Hi, that's valid for gpx 1.0 which is not updated, with gpx 1.1 the tag "speed" is no longer present.
Of curse Orux could define his own tag extension for speed, but then no software would be able to read the gpx.

donpro wrote:
Nevertheless, I don't really care about gpx, I would also be interested if the ANT+ speed (like heartrate and cadence) is stored somewhere in the database of Oruxmaps? A ascii or csv-export would also be interesting for me, using it for a simple analysis of track data (for example, using Libreoffice cals).

I second this!


Also Orux, if you are reading this, would you consider implementing also the tcx export? I think it would be fast to develop, because there are many code sample for tcx generation, like the mytracks tcx library, released with a CC 3.0 BY-SA license. With tcx you could use the "distance" field to record the speed data.

Fabrizio

fabrylama

Cantidad de envíos : 96
Fecha de inscripción : 2012-06-25

View user profile

Back to top Go down

Re: Cadence in gpx file

Post  Sponsored content Today at 7:54 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum