Page 4 of 4

Re: Post GPX bugs or feature requsts here

PostPosted: Thu May 19, 2011 5:04 am
by Josh Lewis
Well I would understand why it would not display, its not even uploaded to the server! http://www.summitpost.org/download.php?f=716327.
I've tested earlier on that certain gpx files don't upload to sp. What I use is a online converter to get the exact sp format

So here is a idea, upload the file to this site: http://www.gpsies.com/upload.do?uploadMode=convert
Convert it to GPX Track
Then show options at the bottom
Click the "Add / replace elevation" check box.
Then hit convert. Reupload it to the page and see if it works. 8)

Edit: Confirmed my test. When I convert the gpx file to a "GPX Route" (different from GPX Track) format it does not work.
The gpx file that does not work is virtually the same as the one in the trip report I mentioned a few posts ago that does work. So either people need to convert them, or SP needs to be able to read the format.

How can you tell the format? Open the gpx file in txt mode (a simple text editor to see the code structure) which there is a key difference. Notice before each coordinate something that says (depends on what code version you have)

<rtept lat="48.50992076" lon="-121.226298">
<ele>1298.0000</ele>
<time>2011-02-21T01:40:34Z</time>
</rtept>[/code]
for each coordinate. This is the code version that does not work for sp while the version that I know works

<trkpt lat="48.50982711" lon="-121.225123">
<ele>1344.0000</ele>
<time>2011-02-21T01:41:06Z</time>
</trkpt>

Works just fine. I made it so the important part of the difference was bold text.

This is just a guess, so it's not that sp's map system cannot read the gpx file, it does not properly upload to the site.

Re: Post GPX bugs or feature requsts here

PostPosted: Thu May 19, 2011 1:37 pm
by Alpinist
Thanks Josh. I'll try that later today. I used a GPX editing program to delete portions of the route that were not part of the trail system. That program may have converted the GPX file as you described.

I wonder if I can just do a Find and Replace with a text editor to change "rtept" to "trkpt", or if there is something more to it than that?

Re: Post GPX bugs or feature requsts here

PostPosted: Thu May 19, 2011 6:45 pm
by Alpinist
That link worked. Thanks Josh!

Re: Post GPX bugs or feature requsts here

PostPosted: Fri May 31, 2013 5:21 am
by jaimemarijke
I seem to be hitting a bug in the GPX mapping feature. I accidentally uploaded the wrong GPX file first. I replaced it with the correct one, which sort of worked, but it looks like I am still seeing part of the track from the old one: http://www.summitpost.org/mt-ellinor-a- ... map/848267. I can't find a way to completely delete the GPX file and start fresh.