Importing GPX tracks into TangoGPS
TangoGPS is a wonderful tool to navigate using OpenStreetMap data. Currently though, it does not yet support the loading of track files. However, here is a little hack to insert track points from a GPX file into the tangoGPS POI database. This may be useful for rudimentary routing and for geocaching. As seen on the screenshot, a route is displayed as a series of unconnected track points.
The small script is written in python. It requires pysqlite2. It reads a gpx file, and inserts track points directly into the file poi.db which you can find in your .tangogps directory. It works for me and files generated by the Open Route Service. Your mileage may vary, and you might have to edit the regular expression which identifies the track points (Refer to the comments for using it with gpsbabel) . Don’t forget your backup.
Download here: gpx2tango.py
More tools:
- loc2tango.py for those geocaching.com loc files.
- pocket2tango.py for those geocaching.com pocket query GPX files. Includes basic information (and, optionally, hints) into waypoint information. Writes full html cache description to separate html file.








