Fugawi v3 - GPX - GPS Babel
For those of us using older versions of Fugawi, in this case version 3, then it's a little more hassle to import and export .GPX files or convert from Fugawi format to .GPX. It took a while to discover these workarounds so I hope they may be helpful to others...
jb, galashiels
A. install GPSBabel
the download is a .ZIP file and you need to extract the files to a directory of choice, say, c:\program files\gpsbabel
the program doesn't install, as such, and all you need to do is create a shortcut on your menu that points to the file GPSBabelGUI.exe to run the program
B. to import a .GPX route into Fugawi
1. open GPSBabel and for a route called, say, caddonfoot.gpx set the screen in a similar way to this:

2. click the Let's Go button and you now have a file called caddonfoot.txt
[note that you can open both files in any text editor]
3. open Fugawi and then the Track Library window
4. use the Import Track File dialog to locate caddonfoot.txt
[remember to set the dialog to look for Text Files or All Files, not just Fugawi ones]
5. when importing/exporting waypoints, you have to specify the order of fields as follows:
Name
Comment
Description
Latidude
Longitude
Altitude (metres)
Date (yyyymmdd/yymmdd)
Time of day (hhmmss)
[in practice, it may be that your .GPX file doesn't have, for example, a Description field but you need to 'leave space' for it - see below...]
6. you should now get a dialog window to specify the fields that you want to import. This should be consistent with the fields in your caddonfoot.txt file and in the order shown below:

6. click the OK button et voilą, you now have a caddonfoot.trk file - or, at least, you would if you now export it...
7. and so, can you import your GPX file as a 'route' rather than a 'track'? Yay, similar to the process above but using the Route Window > Import Route, set up the Import Route dialog to look like this:

C. to export a Fugawi track to a .GPX route file
Hmmm, not so easy doing it this way round...
1. export your Fugawi route as a text file and set the options as below. You need those three initial 'dummy' fields - use whatever...

2. now set GPXBabel up as follows

3. click the Let's Go button and you have a GPX file; in this example Aardvark.GPX.....
4. ...BUT if you open the file in a text editor and compare it with the source text file you'll note that GPXBabel has added two spurious waypoints near the start of the file. Why? Dunno, but fortunately it isn't difficult to remove them...
5. look in the GPX file for elements like these:
<wpt lat="0.000000000" lon="0.000000000">
<name># Local Date (yyyymmdd)</name>
<cmt># Local Date (yyyymmdd)</cmt>
<desc># Local Date (yyyymmdd)</desc>
</wpt>
<wpt lat="0.000000000" lon="0.000000000">
<name># Local Time (hhmmss)</name>
<cmt># Local Time (hhmmss)</cmt>
<desc># Local Time (hhmmss)</desc>
</wpt>
select the text, remove it, resave the .GPX file and you're done.
So it does work, but it's all a bit of a faff and we have to wonder if there isn't a better way without having to spend money on an upgrade to Fugawi which supports GPX files directly...;-(
D. to validate a .GPX file using Xerces
(Xerces is available from apache.org website. It is, however, a command line utility and so maybe not for the faint-hearted)
1. put the .GPX file into the bin directory
2. open DOS session and navigate to d:\gps\xerces\bin or wherever you installed it to
3. command line as follows:
saxcount.exe -v=always -n -s -f filename.gpx
4. if successful, it will list various attributes...
|