Yaouh!
From Openmoko
Contents |
Introduction
Yaouh! (Yet Another Osm Updater H) is an utility for update maps of TangoGPS. It checks the md5 of remote file and of local file, if is different update the file. It reads the TangoGPS config file for know where is store the file of the maps. Now support all repository and paralle download. Need testing)
Installation
opkg install http://minucci.net/file/opkg/yaouh_0.4_all.opk
Or you can use repository http://minucci.net/file/opkg/ . For add repository follow this command:
cd /etc/opkg wget http://minucci.net/file/gecco-feed.conf
and then:
opkg update opkg install yaouh
Bug
yaouh updates some maps (osmarender, google) also if there aren't a newer version.
It seems that by default, TangoGPS does not insert the OSM url in the gconf file and so Yaouh! does not find any repository (list is empty). In order to fix that I replaced the bloc :
<entry name="repo_name" mtime="1234965934" type="string"> <stringvalue>OSM</stringvalue> </entry>
with the following :
<entry name="repo_name" mtime="1234965934" type="string"> <stringvalue>OSM|http://tile.openstreetmap.org/%d/%d/%d.png|/home/root/Maps/OSM|0</stringvalue> </entry>
in the file ~/.gconf/apps/tangogps/%gconf.xml, however TangoGPS seems to overload this value each time it closes !