Post GPX bugs or feature requsts here

Suggestions and comments about SummitPost's features, policies, and procedures. Post bugs here.
User Avatar
Josh Houser

 
Posts: 3337
Joined: Thu Jan 06, 2011 11:12 pm
Thanked: 1019 times in 630 posts

Re: Post GPX bugs or feature requsts here

by Josh Houser » Thu May 19, 2011 5:04 am

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.
Last edited by Josh Houser on Fri May 20, 2011 3:23 am, edited 1 time in total.

User Avatar
Alpinist

 
Posts: 6459
Joined: Tue Jul 29, 2003 7:21 pm
Thanked: 850 times in 569 posts

Re: Post GPX bugs or feature requsts here

by Alpinist » Thu May 19, 2011 1:37 pm

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?

User Avatar
Alpinist

 
Posts: 6459
Joined: Tue Jul 29, 2003 7:21 pm
Thanked: 850 times in 569 posts

Re: Post GPX bugs or feature requsts here

by Alpinist » Thu May 19, 2011 6:45 pm

That link worked. Thanks Josh!

User Avatar
jaimemarijke

 
Posts: 1
Joined: Wed May 01, 2013 6:24 pm
Thanked: 0 time in 0 post

Re: Post GPX bugs or feature requsts here

by jaimemarijke » Fri May 31, 2013 5:21 am

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.

Previous

Return to Site Feedback

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests