> -------- Original Message --------
> Subject: Re: [Gpsbabel-misc] GPSBabel generating "bad" GPX files?
> Date: Mon, 27 Jul 2009 13:35:32 -0500
> From: Robert Lipe <robertlipe@...>
> To: utahnix <utahnix@...>
> CC: gpsbabel-misc@...
> References: <4A6AD042.8030405@...>
> On Mon, Jul 27, 2009 at 1:27 PM, utahnix <utahnix@...
> <mailto:utahnix@...>> wrote:
> Robert Lipe wrote:
> > On Sat, Jul 25, 2009 at 4:28 AM, utahnix <utahnix@...
> > <mailto:utahnix@... <mailto:utahnix@...>>> wrote:
> > Hi,
> > I'm new to GPSBabel, so it's entirely possible my current
> conundrum is
> > my own doing. What I'm trying to do is download GPS data from
> a Garmin
> > GPS 60 via USB. The command succeeds, but nothing I can throw
> at can
> > open the resulting GPX file... says it's a bad or invalid file.
> > I'm running the x86_64 version of openSUSE Linux 11.1
> > (220.127.116.11-0.1-default). I have GPSBabel 1.3.6, which I
> acquired from
> > one of the official openSUSE Yast repositories.
> > This is the command I run:
> > gpsbabel -i garmin -r -t -f usb:0 -o gpx -F
> > Without seeing the file or the errors involved, it's hard to say much.
> > Fortunately, GPX is very well defined and it's easy to test if a GPX
> > file is good by passing it through a validator. That lets you
> > authoritatively assign blame to either the reader or the writer.
> > If you find a case where the above command results in GPX that won't
> > validate, we'd definitely be interested in addressing that.
> > RJL
> That's certainly understandable. Is there a GPX validator in particular
> that you would personally recommend?
> I use SAX2Count because it's the one recommended by the GPX development
> group. (Which I happen to participate in...)
Okay, so I run the command ('SAXCount -v=always -n -s -f file.gpx') and
I get the following:
file.gpx: 1179 ms (3999 elems, 2999 attrs, 10486 spaces, 36398 chars)
So I suppose that puts the fault of the app I'm trying to open it with.
The app I'm currently using (unsuccessfully) is EasyGPS, even though
it's Windows (I have a dual boot setup). It has worked fine for me in
Windows, but now that I'm trying to download coordinates in Linux, it
isn't cooperating. If there is a better graphical GPX viewer/editor for
Linux, I'm all for it - I just don't know what to use.
When I try to open the GPX file in EasyGPS that I downloaded with
GPSBabel, it says "The Open command could not be completed. The file
file.gpx could not be opened. This is not a GPX file. Could not find
<gpx> at the beginning of the file." I tried converting the UNIX line
returns to DOS, thinking that EasyGPS may just not be designed to handle
them, but that didn't make any difference. Any thoughts?
In short, I'm not stuck on EasyGPS. I simply want to be able to manage
GPX files from either OS (primarily Linux), if possible.
Help/advice is appreciated.