BaijnathG / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

GPX version changed 1.0 -> 1.1 - cant get files uploaded to mapmytracks.com and others #394

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Record a track
2. Export  as GPX
3. Upload to mapmytracks.com

Checking against older tracks saved in to GPX format I see that new tracks are 
now using GPX version 1.1, oposite to older ones that used 1.0.

XML headers are different but that should not be the problem,
<topografix:color>c0c0c0</topografix:color> TAG is now contained inside 
<extensions>  TAG, 
<trkpt lat="37,1543" lon="-7,88614"> TAG is using ","  (coma) for lat/long 
instead of "." (dot)

Replacing Headers, removing extensions TAG and replacing coma by dot in 
lat/long will "fix" the problem.

Please advise

mytracks Ver. 1.1.2 - This seem to start happening after last update
Android  2.2.1 - HTC Wildfire

-- Sample files --- (segments,  full files attached)
### Old Version - WORKING :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="details.xsl"?>
<gpx
 version="1.0"
 creator="My Tracks for the G1 running Android"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns="http://www.topografix.com/GPX/1/0"
 xmlns:topografix="http://www.topografix.com/GPX/Private/TopoGrafix/0/1" xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd http://www.topografix.com/GPX/Private/TopoGrafix/0/1 http://www.topografix.com/GPX/Private/TopoGrafix/0/1/topografix.xsd">
<trk>
<name><![CDATA[2011-02-27 09:12-domingo]]></name>
<desc><![CDATA[]]></desc>
<number>26</number>
<topografix:color>c0c0c0</topografix:color>
<trkseg>
<trkpt lat="37.02598" lon="-7.969197">
<ele>78.0</ele>
<time>2011-02-27T09:16:16Z</time>
</trkpt>
<trkpt lat="37.025873" lon="-7.969239">
<ele>49.0</ele>
<time>2011-02-27T09:16:21Z</time>
</trkpt>
<trkpt lat="37.02591" lon="-7.969277">
<ele>45.0</ele>
<time>2011-02-27T09:16:36Z</time>
</trkpt>
</trkseg>
</trk>
</gpx>

---------
### New Version - NOT WORKING :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="details.xsl"?>
<gpx
 version="1.1"
 creator="My Tracks for the G1 running Android"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns="http://www.topografix.com/GPX/1/1"
 xmlns:topografix="http://www.topografix.com/GPX/Private/TopoGrafix/0/1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.topografix.com/GPX/Private/TopoGrafix/0/1 http://www.topografix.com/GPX/Private/TopoGrafix/0/1/topografix.xsd">
<trk>
<name><![CDATA[2011-03-13 09:12]]></name>
<desc><![CDATA[]]></desc>
<number>30</number>
<extensions><topografix:color>c0c0c0</topografix:color></extensions>
<trkseg>
<trkpt lat="37,15424" lon="-7,88619">
<ele>295</ele>
<time>2011-03-13T09:14:35Z</time>
</trkpt>
<trkpt lat="37,1543" lon="-7,88614">
<ele>296</ele>
<time>2011-03-13T09:14:37Z</time>
</trkpt>
<trkpt lat="37,15436" lon="-7,88607">
<ele>295</ele>
<time>2011-03-13T09:14:39Z</time>
</trkpt>
<trkpt lat="37,15439" lon="-7,88602">
<ele>296</ele>
<time>2011-03-13T09:14:41Z</time>
</trkpt>
</trkseg>
</trk>
</gpx>

Original issue reported on code.google.com by nelsondd...@gmail.com on 13 Mar 2011 at 9:12

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by sandordo...@google.com on 14 Mar 2011 at 3:29