From Openmoko

Jump to: navigation, search



navicache poi import

(geocaching) work in progress HELPHELPHELP

import geocache waypoints via their downloadable gpx (xml) into tangogps's ~/.tangogps/poi.db (sqlitedb)

example gpx file

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>



   creator="NaviCache Cache Download 1.0.0 -"



   xsi:schemaLocation=" ">

      <name>acountnames's GPX download</name>






      <wpt lat="39.3173666666667" lon="-84.54635">


         <desc>A Chip Off the Old Block by Web_ling</desc>


         <urlname>Cache Details</urlname>




      <wpt lat="39.32035" lon="-84.5737333333333">


         <desc>Cache Hopper by Web_ling</desc>


         <urlname>Cache Details</urlname>




poi.db format/schema?

example poi.db with one poi entry tangogps raw sqlite poi.db

CSV dump

kd8ikt@kd8ikt:~/mokoloco$ cat poidb.cvs 
"109496141722186324","39.283409","-84.317535","0.0","14.0","0.0","home","home duh","3.0","0.0","","","","",""

i'm looking into python for importing/parsing the lat lon name and desc inside each waypoint heading then export those into the tangogps sqlite poi.db



#!/usr/bin/env python
#  licensing stuff yada yada

import sys

from xml.dom import minidom
xmldoc = minidom.parse('gpx.gpx') #ugh wrong its hardcoded 

if len(sys.argv) <3:
  print "usage:"
  print "INCOMPLETE"
  print " poi.db navicache.gpx"

batch processing tracklogs

is there anyway to batch process a folder with convert2gpx? manually running it on 40 some odd traces is a pain.--Jerjozwik 20:23, 2 May 2009 (UTC)

for file in *.log; do convert2gpx $file > `basename $file .log`.gpx; done

--blat 06:18, 4 May 2009 (UTC) amazing, thank you blat--Jerjozwik 05:11, 13 May 2009 (UTC)

gps update timer

is there any way to adjust the gps track timer for tangoGPS? i ask because while driving or moving in an object with a high velocity the gps track data is very clean. when walking or biking the data can be very noisy even in an open area. so my thinking is by having a switch / command something that i could enable when im walking i could then use that data.--Jerjozwik 15:48, 17 May 2009 (UTC)

How do I set the map on the command line with SHR?

I just tried to change the directory for the storage of the Maps from main memory to the SD card. Since TangoGPS crashed using the GUI, I tried it the command line way described on the wiki. There were some error message: "Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged". The change did work though -- until I did a opkg upgrade. After the system seemed to be broken. For example: Trying to access the power configuration on the GUI I got the error message "Couldn't connect to FSO" and "Coundln't connect to FSO or ophonekitd". Well, I guess I will have to reflash again... Thisss 21:09, 03 August 2009

Personal tools