Additional Tags in GPX Export

Started by tyler_durden, January 30, 2014, 04:37:25 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

tyler_durden

Hi,



it would be very nice, if you could add additional information in the GPX file output. Especially speed would be very nice eg for biketracking and also running, because GPS speed information is much more accurate than calculating it from position distances especially at low speeds. As there is no standard speed tag in GPX 1.1 you could use GPX extensions like they are common from garmin devices and also locus maps usese them, like this:
Quote
<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<gpx version="1.1" creator="Locus Android"

 xmlns="http://www.topografix.com/GPX/1/1">http://www.topografix.com/GPX/1/1"

 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance"

 xsi:schemaLocation="http://www.topografix.com/GPX/1/1">http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">http://www.topografix.com/GPX/1/1/gpx.xsd"

 xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3">http://www.garmin.com/xmlschemas/GpxExtensions/v3"

 xmlns:gpxtrkx="http://www.garmin.com/xmlschemas/TrackStatsExtension/v1">http://www.garmin.com/xmlschemas/TrackStatsExtension/v1"

 xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1">http://www.garmin.com/xmlschemas/TrackPointExtension/v1"

 xmlns:locus="http://www.locusmap.eu">http://www.locusmap.eu">

<trk>

<name><![CDATA[2014-01-30 16:20:21]]></name>

<desc><![CDATA[0h:01m:57s | 8.0 m]]></desc>

<trkseg>

<trkpt lat="48.xxx" lon="16.xxx">

   <ele>226.70</ele>

   <time>2014-01-30T15:20:17Z</time>

   <pdop>14.00</pdop>

   <extensions>

      <gpxtpx:TrackPointExtension>

         <gpxtpx:speed>0.0</gpxtpx:speed>

      </gpxtpx:TrackPointExtension>

   </extensions>

</trkpt>



....


Maybe the dilution of precision tag could also be helpful.



In the locus maps forum there is also a discussion concerning this topic:

http://forum.locusmap.eu/index.php?topic=3426.0">http://forum.locusmap.eu/index.php?topic=3426.0



best regards

nauseouscrow

#1
Hi orux,



My request is to provide distance-based recording of gps tracks for cycling. The speed sensor is used as odometer and written to the file. I know that .tcx supports the distance tag but I don't know about gpx. This is nice because if for example if i have a ferry ride in the middle of my ride I can stop recording and start again on the other side. When uploaded to strava only my actual riding distance is used.



Also It would be nice to have the elevation data recorded like garmin edge 500 and other devices where when uploaded to strava, strava knows not to correct it since these devices have barometer. This would be especially useful for phone that has barometer. Currently an activity uploaded to strava the elevation is automatically corrected. Crossing a bridge is not handled correctly. Or steep switchbacks with drifting gps data.



Other option that would be amazing would be able to split gpx/tcx files or tracks.



Thanks.



Caleb