Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

+2 votes
3.1k views

Hi. Few months ago I submited this by e-mail but after recieving reply to provide more info I left this one.

Waypoint GPX generated from PGC fails to import into garmin basecamp:

Super desriptive error. Thanks garmin for that! :)

I did sime little research with the help of to http://www.validome.org/xml/validate/ and it looks that I found the problem:

By the way I found ~100 attributes which were ="". After changing all of them to ="0" file import suceeds:

I am experiencing this in waypoints only. But 3 months ago I noticed it in geocache gpx import.

 

I've found following empty attributes:

minlat="" minlon="" in <bounds minlat="" minlon="" maxlat="56.410667" maxlon="26.448050" />

lat="" lon="" in <wpt lat="" lon="">

When submiting this update I've now understand why you didn't see them from code. It's because of waypoints without coords :) Example: http://www.geocaching.com/seek/wpt.aspx?WID=592d2a78-ca4c-4310-8038-b7f0d5ade92f

closed with the note: solved
in Bug reports by vukisz (1.1k points)
closed by vukisz
Exactly, I just realized the same. I will now build a GPX at Geocaching.com from such cache to see how it "should" look.
Fix created, and published to live servers.
My answer is updated.

1 Answer

+1 vote
 
Best answer

A very good bug report. We will try to look into the matter within a week. Doesn't sound like a very hard fix.

But I took a look at the bounds-generation, I currently can't see the issue. I will have to debug it for real. Is that issue only in the -wpts file or in the "real" GPX file as well?

Was it in many different cases the attribute was =""? If it's only a few different variants, it would be great if you could edit your question and add examples of them. Then I don't have to try to reproduce, and maybe miss something.

 

Ok, a fix has been applied. After building a GPX with the cache GC3CF1X in it at Geocaching.com, I realize that they do not include waypoints with hidden coordinates at all. Project-GC is now doing the same, and therefore avoiding this issue (fix released to live servers a few minutes ago).

I also tested to build a GPX on 1200 random geocaches, there was no accourance of ="" in the GPX-files.

by magma1447 (Admin) (243k points)
selected by vukisz
Main description updated
...