|
Cellular forums Home > Archive > Garmin GPS > September 2007 > finding corrupt GPX files
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
finding corrupt GPX files
|
|
| Scott 2005-05-21, 10:55 pm |
| I've had some freezes on my Vista C that may relate to corrupt GPX
files. Does anyone know of any utilities that can find/repair the files?
I have a lot of waypoints in my GPS, and no easy way to find out which
may be doing it.
--
to respond (OT only), change "spamless.invalid" to "optonline.net"
<http://www.thecoffeefaq.com/>
| |
| Wayne R. 2005-05-22, 10:55 pm |
| On Sat, 21 May 2005 16:48:02 -0400, Scott <heimdall@spamless.invalid>
wrote:
quote:
>I've had some freezes on my Vista C that may relate to corrupt GPX
>files. Does anyone know of any utilities that can find/repair the files?
>I have a lot of waypoints in my GPS, and no easy way to find out which
>may be doing it.
I'm guessing here, but I think my logic's sound: GPX is a file format,
not one specific to being stored within a GPS unit. So, some software
has to read that file and send it to the GPS _in_the_GPS's_format
_.
If I suspected corrupt data, I'd upload it to a computer to check out
what's what. I'd also be willing to flush/reset my GPS (since I've
just copied it to my computer).
In my computer, I'd simply look at, say, MapSource with the GPS data
displayed. Anything fubared should be plainly obvious. And if the data
is okay, a reload of that data right back into my GPS should be okay
too.
Upload it, check it, flush it, reload it. That should remove the data
from being suspect. Further crashes would not be from data.
| |
| Scott 2005-05-22, 10:55 pm |
| In article < a0p1911c3ij270tpk4ms
ar50jt40spl8ae@4ax.com>,
Wayne R. <wruffner@KomKast.net> wrote:
quote:
> If I suspected corrupt data, I'd upload it to a computer to check out
> what's what. I'd also be willing to flush/reset my GPS (since I've
> just copied it to my computer).
>
> In my computer, I'd simply look at, say, MapSource with the GPS data
> displayed. Anything fubared should be plainly obvious. And if the data
> is okay, a reload of that data right back into my GPS should be okay
> too.
The problem is, we're talking about ~100 waypoints. I reset the GPS, but
when I reloaded the data, it froze again. Something in the data is
almost certainly bad. I'd have to separate the GPX file into its
individual waypoints and load the waypoints one by one to see which one
does it (which would take a long, long time). And I don't know if it
*would* be obvious. What if it was some accompanying data, not simply
the coordinates?
--
to respond (OT only), change "spamless.invalid" to "optonline.net"
<http://www.thecoffeefaq.com/>
| |
| Chuck Taylor 2005-05-22, 10:55 pm |
| On Sat, 21 May 2005 16:48:02 -0400, Scott <heimdall@spamless.invalid>
wrote:
quote:
>I've had some freezes on my Vista C that may relate to corrupt GPX
>files. Does anyone know of any utilities that can find/repair the files?
>I have a lot of waypoints in my GPS, and no easy way to find out which
>may be doing it.
A program like G7ToWin <URL:http://www.gpsinformation.org/ronh/> can
read GPX files and list the waypoints. If the problem lies in the
data, perhaps you can find it by reviewing the list.
--
Chuck Taylor
http://home.hiwaay.net/~taylorc/contact/
| |
| jmorriss@idirect.com 2005-05-23, 6:55 am |
|
Scott wrote:
quote:
> In article < a0p1911c3ij270tpk4ms
ar50jt40spl8ae@4ax.com>,
> Wayne R. <wruffner@KomKast.net> wrote:
>
out[vbcol=darkred]
data[vbcol=darkred]
data[vbcol=darkred]
okay[vbcol=darkred]
>
> The problem is, we're talking about ~100 waypoints. I reset the GPS,
but
quote:
> when I reloaded the data, it froze again. Something in the data is
> almost certainly bad. I'd have to separate the GPX file into its
> individual waypoints and load the waypoints one by one to see which
one
quote:
> does it (which would take a long, long time).
Not that long...Cut the problem file in half... Load one half and see
if it crashes the GPSR... Repeat with the half that has the bad data in
it...
Seven cycles should do it...
It would take longer if you confirmed that the half-files still crash
the GPSR. Have you considered that there may be a bad memory location?
Have you successfully used this many waypoints in other files?
| |
| dold@70.usenet.us.com 2007-09-27, 10:33 pm |
| In alt.satellite.gps.garmin Scott <heimdall@spamless.invalid> wrote:
> I've had some freezes on my Vista C that may relate to corrupt GPX
> files. Does anyone know of any utilities that can find/repair the files?
> I have a lot of waypoints in my GPS, and no easy way to find out which
> may be doing it.
I had a POI found in a search that I saved as a waypoint. It had a
non-ASCII character in it, some malformed "&" from a company name.
That didn't seem to bother the GPSMAP 60cs, but it would fail to load into
Google Earth.
Running gpsbabel from the Google Earth directory against the GPX file would
abort with a line number pointing to the "bad" name.
--
Clarence A Dold - Hidden Valley Lake, CA, USA GPS: 38.8,-122.5
|
|
|
|
|