Convert CompeGPS waypoints to GPX format
I see that there are several requests for CompeGPS to export its waypoints to a format that other programs can use, but this feature has not been added. As a temporary solution, I’ve written a small utility to convert .WPT files to .gpx files.
I’m unable to determine what all of the fields in the CompeGPS waypoint record are for, but understand enough of them to be able to generate a valid .gpx file. You can then open that file with, for instance, G7ToWin.
To run my utility, grab this zip file containing the utility (CompeGPS2gpx.exe) and a sample .WPT file (CalgaryAreaAirspace.WPT). Unzip the file into a folder, open a command prompt in that folder, and type:
CompeGPS2gpx.exe CalgaryAreaAirspace.WPT
Naturally, replace the name of the sample file with your own waypoints file.
I tested the utility with Windows XP, Python 2.4.1. I was able to read the generated .gpx file with G7ToWin (and even found a bug in it that the author has already fixed in his latest version A.00.199f).
If you need to convert CompeGPS waypoints to some other obscure format, get a copy of GPSBabel, as it understands more than 40 formats, and can convert the generated .gpx file to just about any format you desire.
The utility in written in Python, and the source code is provided. If you make changes or improvements, please let me know, and provide a copy of your work.
3044 pageviews
Comments »
The URI to TrackBack this entry is: http://midtoad.homelinux.org/wp/wp-trackback.php?p=110
No comments yet.
RSS feed for comments on this post.
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>


