What steps will reproduce the problem?
I share a Track with a friend and email it to myself as GPX file.
I then try to upload to Garmin Connect a web site for sharing gps related
events (also have had trouble with MapMyRun) and the upload fails.
If I look at the GPX file it has this near the top:
<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">
Notice it mentions the G1, which is obviously outdated, since the upload fails
I manually change the header to:
<gpx version="1.1" creator="My Tracks on Android"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1
http://www.topografix.com/GPX/1/1/gpx.xsd
http://www.garmin.com/xmlschemas/GpxExtensions/v3
http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd
http://www.garmin.com/xmlschemas/TrackPointExtension/v1
http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd"
xmlns="http://www.topografix.com/GPX/1/1"
xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1"
xmlns:topografix="http://www.topografix.com/GPX/Private/TopoGrafix/0/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
And now an upload to the third part website Garmin Connect works.
What is the expected output? What do you see instead?
See above.
What version of MyTracks are you using? On what version of Android? On what
phone?
Android 2.1 on Motorola Cliq (MB200), I downloaded the latest MyTracks
yesterday which is apparently 1.1 or in the Application Info it says version 23.
If possible please provide a log.
No log provided.
Please provide any additional information here:
I am willing to download the source and try to figure out how to fix this if it
is agreed the modified GPX parameter/header is an improvement.
The file to be modified appears to be:
GpxTrackWriter.java
The method to be changed is:
writeHeader()
Original issue reported on code.google.com by tantdy...@gmail.com on 11 Feb 2011 at 2:51
Original issue reported on code.google.com by
tantdy...@gmail.com
on 11 Feb 2011 at 2:51