Talk:TangoGPS
From Openmoko
(→How do I set the map on the command line with SHR?) |
|||
| (12 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
==subproject== | ==subproject== | ||
===navicache poi import=== | ===navicache poi import=== | ||
| − | (geocaching) work in progress HELPHELPHELP | + | (geocaching) work in progress HELPHELPHELP <B> kd8ikt@fuse.net </b> |
import navicache.com geocache waypoints via their downloadable gpx (xml) into tangogps's ~/.tangogps/poi.db (sqlitedb) | import navicache.com geocache waypoints via their downloadable gpx (xml) into tangogps's ~/.tangogps/poi.db (sqlitedb) | ||
| Line 71: | Line 71: | ||
<B>poi.db format/schema? </B> | <B>poi.db format/schema? </B> | ||
| + | example poi.db with one poi entry<br> | ||
| + | http://we.trekbeyond.org/~kd8ikt/moko/poi.db tangogps raw sqlite poi.db | ||
| + | <br><br><B>CSV dump</b> | ||
<PRE> | <PRE> | ||
| − | |||
| − | $cat | + | kd8ikt@kd8ikt:~/mokoloco$ cat poidb.cvs |
| − | + | "idmd5","lat","lon","visibility","cat","subcat","keywords","desc","price_range","extended_open","creator","bookmarked","user_rating","rating","user_comment" | |
| − | + | "109496141722186324","39.283409","-84.317535","0.0","14.0","0.0","home","home duh","3.0","0.0","","","","","" | |
| − | + | ||
| − | + | ||
</PRE> | </PRE> | ||
| Line 84: | Line 85: | ||
<B>conclusion </B><br> | <B>conclusion </B><br> | ||
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 | 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 | ||
| + | |||
| + | <B><BR>GPSBABEL?</B> | ||
| + | |||
| + | |||
| + | |||
| + | <br><br> | ||
| + | <B>Progress</b><br> | ||
| + | <PRE> | ||
| + | |||
| + | #!/usr/bin/env python | ||
| + | # | ||
| + | # NaviCacheGPX2TangogpsPOIdb.py | ||
| + | # | ||
| + | # licensing stuff yada yada | ||
| + | # | ||
| + | #kd8ikt | ||
| + | |||
| + | 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 "NaviCacheGPX2TangogpsPOIdb.py poi.db navicache.gpx" | ||
| + | sys.exit(1) | ||
| + | |||
| + | </PRE> | ||
| + | |||
| + | |||
| + | == batch processing tracklogs == | ||
| + | is there anyway to batch process a folder with convert2gpx? manually running it on 40 some odd traces is a pain.--[[User:Jerjozwik|Jerjozwik]] 20:23, 2 May 2009 (UTC) | ||
| + | |||
| + | <pre> | ||
| + | for file in *.log; do convert2gpx $file > `basename $file .log`.gpx; done | ||
| + | </pre> | ||
| + | --[[User:Blat|blat]] 06:18, 4 May 2009 (UTC) | ||
| + | amazing, thank you blat--[[User:Jerjozwik|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.--[[User:Jerjozwik|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... [[User:Thisss|Thisss]] 21:09, 03 August 2009 | ||
Latest revision as of 21:10, 3 August 2009
Contents |
[edit] subproject
[edit]
(geocaching) work in progress HELPHELPHELP kd8ikt@fuse.net
import navicache.com geocache waypoints via their downloadable gpx (xml) into tangogps's ~/.tangogps/poi.db (sqlitedb)
example navicache.com gpx file
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<gpx
version="1.0"
creator="NaviCache Cache Download 1.0.0 - http://www.navicache.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.topografix.com/GPX/1/0"
xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd ">
<name>acountnames's GPX download</name>
<author>NaviCache.com</author>
<email>support@navicache.com</email>
<url>http://www.navicache.com</url>
<urlname>NaviCache</urlname>
<time>2009-02-06T21:35:30Z</time>
<wpt lat="39.3173666666667" lon="-84.54635">
<name>N00BD5</name>
<desc>A Chip Off the Old Block by Web_ling</desc>
<url>http://www.navicache.com/cgi-bin/db/displaycache2.pl?CacheID=3029</url>
<urlname>Cache Details</urlname>
<sym>Default</sym>
<type>Geocache</type>
</wpt>
<wpt lat="39.32035" lon="-84.5737333333333">
<name>N0114D</name>
<desc>Cache Hopper by Web_ling</desc>
<url>http://www.navicache.com/cgi-bin/db/displaycache2.pl?CacheID=4429</url>
<urlname>Cache Details</urlname>
<sym>Default</sym>
<type>Geocache</type>
</wpt>
poi.db format/schema?
example poi.db with one poi entry
http://we.trekbeyond.org/~kd8ikt/moko/poi.db tangogps raw sqlite poi.db
CSV dump
kd8ikt@kd8ikt:~/mokoloco$ cat poidb.cvs "idmd5","lat","lon","visibility","cat","subcat","keywords","desc","price_range","extended_open","creator","bookmarked","user_rating","rating","user_comment" "109496141722186324","39.283409","-84.317535","0.0","14.0","0.0","home","home duh","3.0","0.0","","","","",""
conclusion
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
GPSBABEL?
Progress
#!/usr/bin/env python
#
# NaviCacheGPX2TangogpsPOIdb.py
#
# licensing stuff yada yada
#
#kd8ikt
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 "NaviCacheGPX2TangogpsPOIdb.py poi.db navicache.gpx"
sys.exit(1)
[edit] 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)
[edit] 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)
[edit] 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
