Welcome to SP!  -
Areas & RangesMountains & RocksRoutesImagesArticlesTrip ReportsGearOtherPeoplePlans & PartnersWhat's NewForum

Post GPX bugs or feature requsts here

Suggestions and comments about SummitPost's features, policies, and procedures. Post bugs here.
 

Re: Post GPX bugs or feature requsts here

Postby Day Hiker » Fri Dec 03, 2010 2:48 pm

Day Hiker wrote:. . .


Here is an updated gpx file for Funeral Peak: gpx file

I deleted the old one.
User Avatar
Day Hiker

 
Posts: 3156
Joined: Fri Dec 26, 2003 2:57 am
Location: Henderson, Nevada, United States
Thanked: 61 times in 43 posts

Re: Post GPX bugs or feature requsts here

Postby MoapaPk » Fri Dec 03, 2010 3:21 pm

mrchad9 wrote:Thanks MoapaPk, but now the route is in reverse, and for some reason it thinks the low point elevation is zero. But I least the highpoint is correct.

Maybe I will play around with it and see if I can splice the original and old one together in a way that will work.


Yes, I added a few points that were automatically set to zero elevation. Normally the assigned elevation either comes from the elevation recorded by the gps, or that elevation given by the digital elevation model used by the mapping program (which will use the gps x,y and interpolate the z in a table). That particular app has no DEM table, so it assigned 0. Sorry about that, I forgot that we were now doing elevation profiles.
User Avatar
MoapaPk

 
Posts: 7650
Joined: Fri May 13, 2005 7:42 pm
Location: Las Vegas, Nevada, United States
Thanked: 756 times in 490 posts

Re: Post GPX bugs or feature requsts here

Postby visentin » Thu Dec 09, 2010 9:14 pm

Matt, have a look to this link :
http://www.mappingsupport.com/p/gmap4.html
User Avatar
visentin

 
Posts: 1439
Joined: Sun Jan 13, 2008 12:27 pm
Location: WrocBaw, France and, Poland
Thanked: 87 times in 58 posts

Re: Post GPX bugs or feature requsts here

Postby Jelf » Fri Dec 10, 2010 2:54 pm

Matt,

I am the author of Gmap4, the program that visentin mentioned. Thanks for remembering about me visentin.
I started this thread: http://www.summitpost.org/phpBB2/viewtopic.php?p=696113

Irrespective of whatever software or map engine is used, I think it is fantastic that more and more outdoor oriented sites are including maps with GPS data.

I noticed that you are using version 2 of the Google Maps API. Since you likely know that Google has deprecated version 2 and is now promoting version 3 of the Google Maps API, I'm curious why you decided to use v2.

<edit>One new feature available in v3 (and not v2) is the ability to print maps right from your browser. Anyone can try this. Below is a link to a world map. Click Menu ==> Search. Include something like a country/province/region/state name in your search. When you find what you are looking for, try telling your browser to print a map.
http://www.mappingsupport.com/p/gmap4.p ... 5&t=t1&z=2
</edit>

I've been thinking about visentin's suggestion of adding an additional map view based on the country for which data is being displayed on the map. Now that is an intriguing idea. It is also an idea that I have not seen implemented anywhere. Looking at that idea with a 30,000 ft view, two things would be required.

1. The program would have to be able to find out the country in which the points in a data file (GPX, etc) reside.
2. The program would also need to define a custom map type for that country's maps (assuming some exist).

Google's geocoding service can easily do #1. Just extract the first coordinate from the data file, send it to Google, and Google sends back the name of the country.

For #2, turn to the savvy volunteers here. I can provide the javascript code for topographic maps covering the USA and Canada.
Just a thought....

Oh, and to see examples of trip reports with embedded 'live' Gmap4 maps showing GPS data, you can search the "Trip Reports" for posts that include "Gmap4" on this site: http://www.nwhikers.net/forums/search.php
These maps run in iframes. The site boss is allowing iframes just for Gmap4.

Finally, have you thought about allowing people to upload KML files so that they can include photo links on their map?
Jelf

 
Posts: 35
Joined: Thu Nov 26, 2009 10:41 pm
Location: Redmond, Washington, United States
Thanked: 2 times in 2 posts

Re: Post GPX bugs or feature requsts here

Postby visentin » Tue Jan 25, 2011 5:26 pm

User Avatar
visentin

 
Posts: 1439
Joined: Sun Jan 13, 2008 12:27 pm
Location: WrocBaw, France and, Poland
Thanked: 87 times in 58 posts

Re: Post GPX bugs or feature requsts here

Postby MoapaPk » Tue Jan 25, 2011 5:38 pm

visentin wrote:http://www.summitpost.org/piz-pal-traverse/gpx-map/694125

The GPX route appears as flat ! :)



The GPX file contains no elevation data. I'm guessing the file was created with a mapping program (not taken directly from an actual GPS), and the mapping program did not assign a elevation to each point. the file has trackpoints like:
<trkpt lat="46.374740000" lon="9.930140000">
<ele>0.000000</ele>
User Avatar
MoapaPk

 
Posts: 7650
Joined: Fri May 13, 2005 7:42 pm
Location: Las Vegas, Nevada, United States
Thanked: 756 times in 490 posts

Re: Post GPX bugs or feature requsts here

Postby rgg » Sat Feb 26, 2011 3:27 pm

MoapaPk wrote:
visentin wrote:http://www.summitpost.org/piz-pal-traverse/gpx-map/694125

The GPX route appears as flat ! :)



The GPX file contains no elevation data. I'm guessing the file was created with a mapping program (not taken directly from an actual GPS), and the mapping program did not assign a elevation to each point. the file has trackpoints like:
<trkpt lat="46.374740000" lon="9.930140000">
<ele>0.000000</ele>


You're guessing correctly. I created the map using wandermap, and didn't even know about the GPX feature until Eric pointed it out to me. On the wandermap site, the route has an elevation profile. If you want to look at it, here is the link: http://www.wandermap.net/route/799435

Mind you, from looking at google earth and google maps, I've learned that the altitudes given are not particularly accurate. That's not wandermap's fault, it's the underlying map data. I find that real topo maps are much better in general, and this is true for the Bernina area too. Therefore, even if wandermap had included altitudes in the GPX file, they would have to be taken with a grain of salt.

I had a close look at the elevation profile. It seems that wandermap has some trouble staying on the ridge. Sure, it's a knife edge, but even on the big central summit, the profile is incorrect. The two most noticeable errors are the drops in elevation just east of Piz Spinaz, and even more pronounced the unreal drop just east of Piz Palü East. Given these gross inaccuracies, I believe it's better that the altitudes are omitted in the exported GPX file.

Rob
User Avatar
rgg

 
Posts: 441
Joined: Sat Oct 02, 2010 7:15 pm
Location: Amsterdam, Netherlands
Thanked: 98 times in 78 posts

Re: Post GPX bugs or feature requsts here

Postby MoapaPk » Sat Feb 26, 2011 4:07 pm

rgg wrote:
I had a close look at the elevation profile. It seems that wandermap has some trouble staying on the ridge. Sure, it's a knife edge, but even on the big central summit, the profile is incorrect. The two most noticeable errors are the drops in elevation just east of Piz Spinaz, and even more pronounced the unreal drop just east of Piz Palü East. Given these gross inaccuracies, I believe it's better that the altitudes are omitted in the exported GPX file.

Rob


Many mapping programs use a digital elevation model (DEM, essentially a big 2d array of z(x,y)) that is substantially coarser than the topo map, and use a process like splining to interpolate intermediate values. These coarse, interpolated models may see a very sinuous ridge (in x,y) as being a much more like a smooth parabolic-cross-section surface. Thus a sinuous x,y path -- which in the extreme, could be staying exactly on the ridge at one elevation -- is forced artificially to drop down to one side or the other of the model surface. The result is a bizarre overestimation of accumulated gain and loss on the ridge.

Google earth gives the option of picking a fine DEM, which in the USA and parts of Europe, is often very close to a 3x3 meter grid.
User Avatar
MoapaPk

 
Posts: 7650
Joined: Fri May 13, 2005 7:42 pm
Location: Las Vegas, Nevada, United States
Thanked: 756 times in 490 posts

Re: Post GPX bugs or feature requsts here

Postby rgg » Mon Feb 28, 2011 3:01 pm

MoapaPk wrote:Google earth gives the option of picking a fine DEM, which in the USA and parts of Europe, is often very close to a 3x3 meter grid.


Apparently, wandermap uses a courser grid. I don't know how I could can create a route with a higher resolution than what wandermap uses by default.

I regularly use Google Earth when trying to determine where I took a certain photo and what peaks I´m looking at. As it happens, I downloaded a new version of Google Earth last weekend, and noticed that I could choose the resolution that I wanted. I presume that that's what you are referring to. I set it to maximum, only to find out that my computer got stuck - either my computer wasn't fast enough, or version 6 is slower than the previous one. Mind you, Google Earth warned that a higher resolution would make things slower. Anyway, I couldn´t work with it like that, so I reset the resolution to its default value again.
User Avatar
rgg

 
Posts: 441
Joined: Sat Oct 02, 2010 7:15 pm
Location: Amsterdam, Netherlands
Thanked: 98 times in 78 posts

Re: Post GPX bugs or feature requsts here

Postby visentin » Fri Apr 01, 2011 3:39 pm

User Avatar
visentin

 
Posts: 1439
Joined: Sun Jan 13, 2008 12:27 pm
Location: WrocBaw, France and, Poland
Thanked: 87 times in 58 posts

Re: Post GPX bugs or feature requsts here

Postby Josh Lewis » Mon Apr 04, 2011 9:58 pm

That's an outrage! :o Have you tested it else where?
My Websites: Alpine Josh · Alpine Ascent · AceMaps
User Avatar
Josh Lewis

 
Posts: 2303
Joined: Thu Jan 06, 2011 11:12 pm
Location: Lynnwood, Washington, The Cloudiest Place on Earth, United States
Thanked: 498 times in 330 posts

Re: Post GPX bugs or feature requsts here

Postby visentin » Tue Apr 05, 2011 11:48 am

Josh Lewis wrote:That's an outrage! :o Have you tested it else where?

Yes I did.
Indeed I suspect the real reason to be that my object is a TR. How did I attach a GPX to a TR ? created a route first and changed it into a TR. I wonder if I can attach this way a GPX to an area or a FAQ or a picture !
User Avatar
visentin

 
Posts: 1439
Joined: Sun Jan 13, 2008 12:27 pm
Location: WrocBaw, France and, Poland
Thanked: 87 times in 58 posts

Re: Post GPX bugs or feature requsts here

Postby Josh Lewis » Tue Apr 05, 2011 7:09 pm

I didn't ever have to do that to attach a gpx file to my trip report:
http://www.summitpost.org/in-awesome-wonders/699507
And Yes there is a road that cannot be seen on the route which is why it appears off the road on what you can see for the beginning. :wink:

I don't even have a gps. :lol: Ok so what I did was use google earth and then converted it, worked pretty well. :)
My Websites: Alpine Josh · Alpine Ascent · AceMaps
User Avatar
Josh Lewis

 
Posts: 2303
Joined: Thu Jan 06, 2011 11:12 pm
Location: Lynnwood, Washington, The Cloudiest Place on Earth, United States
Thanked: 498 times in 330 posts

Re: Post GPX bugs or feature requsts here

Postby Alpinist » Thu May 19, 2011 3:29 am

MoapaPk wrote:
visentin wrote:http://www.summitpost.org/piz-pal-traverse/gpx-map/694125

The GPX route appears as flat ! :)



The GPX file contains no elevation data. I'm guessing the file was created with a mapping program (not taken directly from an actual GPS), and the mapping program did not assign a elevation to each point. the file has trackpoints like:
<trkpt lat="46.374740000" lon="9.930140000">
<ele>0.000000</ele>

I uploaded my first GPX file but it is not working on SP. I get the same error message above but the map does not appear at all. The GPX file works on other mapping software programs though, like OpenStreetMap.

Is there a way to fix this??

http://www.summitpost.org/mount-rogers-trail/716327
User Avatar
Alpinist

 
Posts: 6005
Joined: Tue Jul 29, 2003 7:21 pm
Location: Kildeer, Illinois, United States
Thanked: 665 times in 445 posts

Re: Post GPX bugs or feature requsts here

Postby Josh Lewis » 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 Lewis on Fri May 20, 2011 3:23 am, edited 1 time in total.
My Websites: Alpine Josh · Alpine Ascent · AceMaps
User Avatar
Josh Lewis

 
Posts: 2303
Joined: Thu Jan 06, 2011 11:12 pm
Location: Lynnwood, Washington, The Cloudiest Place on Earth, United States
Thanked: 498 times in 330 posts

PreviousNext

Return to Site Feedback

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

© 2006-2013 SummitPost.org. All Rights Reserved.