Whereami

From OpenTom

Jump to: navigation, search
whereami
This application retrieves map and geo location informations from the navcore (TomTom navigation Software) and writes it out in different formats.
Properties
Developer: Markus Hoffmann, Bernard
Version: 1.12  (19.05.2009)
Architecture: arm-linux
Language: C, sh
Comment: The actual version is included in the TTTracklog package. This is work in progress...
Dependencies
Requires: {{{requires}}}
See also: Software
Image:whereami.png
Image:Flag-en.gifwhereami is a tool which allows getting informations about a specified location from the TomTom Device. By default, pressing the button will save the actual location informations as a waypoint into an .itn file called

Image:Flag-de.gifwhereami kann Informationen über einen bestimmten Ort (z.B. den aktuellen Standort) aus der TomTom-internen Strassenkarte herauslesen. Wenn nicht anders eingestellt speichert whereami auf Klick auf den Button die aktuelle Position zusammen mit Ortsinformationen wie Strassenname, Stadt und Hausnummer als Wegpunkt in ein .itn file, namens

Image:flag-fr.gifwhereami est un outil qui permet d'obtenir les informations d'un endroit précis grâce au TomTom. Par défaut, presser le bouton enregistre les informations de l'endroit actuel sous forme de point de passage dans un fichier .itn nommé

 itn/whereami.itn
Image:Flag-en.gifBut you can also use whereami from a shell (TTconsole),
for example:

Image:Flag-de.gifMan kann whereami aber auch direkt aus der Shell (TTconsole) heraus benutzen,
zum Beispiel:

Image:flag-fr.gifMais vous pouvez également utiliser whereami à partir du shell (TTconsole),
par exemple:

whereami --lon 53.1234 --lat 9.1234
Image:Flag-en.gifwill output the Streetname and City name of the location closest to the specified point. If you do not provide the coordinates, per default the actual position will be used if it could be achieved.

Image:Flag-de.gifermittelt den Straßennamen und den Namen der Stadt für den Ort, welcher der angegebenen Position am nächsten kommt. Wird keine Position angegeben, wird die aktuelle Position vom TomTom erfragt.

Image:flag-fr.gifcommunique les noms de rue et de ville de la localité la plus proche de la position indiquée. Si aucune position n'est indiquée, la position actuelle est demandée au TomTom.

Image:flag-nl.gifGeeft de straatnaam en stad van de locatie die het dichtst bij het gespecificeerde punt ligt. Wanneer er geen coördinaten worden opgegeven zal de actuele positie worden gebruikt indien deze kan worden bepaald.

or / oder / ou

whereami some.itn > withadresses.itn
Image:Flag-en.gifwill process each line of the input-File (some.itn) and outputs the Streetname and City name of the location closest to the specified point. The result is again saved as an .itn file (withadresses.itn). This is useful if you want to convert the position recorded into the .itn file (or any other waypoint like dataset) into addresses.

Image:Flag-de.gifwill process each line of the input-File (some.itn) and outputs the Streetname and City name of the location closest to the specified point. The result is again saved as an .itn file (withadresses.itn). This is useful if you want to convert the position recorded into the .itn file (or any other waypoint like dataset) into addresses.

Image:flag-fr.gifva traiter chaque ligne du fichier d'entrée (some.itn) et extrait les noms de rue et de ville de la localité la plus proche de chaque position. Le résultat est à nouveau enregistré dans un fichier .itn (withadresses.itn). Ceci est utile si vous désirez convertir les positions enregistrées dans un fichier .itn en adresses.

Commandline options

-h --help                  --- Usage
--lon <longitude>          --- use longitude                                        
--lat <latitude>           --- use latitude      
-f <format string>         --- specify the output format. Default: "%L|%B|%T %y %c,%s %h-%H|0|"
-o <filename>              --- put output to file  (*)
-v                         --- be more verbose                                      
-q                         --- be more quiet

(*) not implemented yet.

Format specifiers

 %L  -- longitude (in itn-Format)
 %B  -- latitude (in itn-Format)
 %l  -- longitude (in degrees)
 %b  -- latitude (in degrees)
 %o  -- longitude (corrected by map data)
 %p  -- latitude (corrected by map data)
 %T  -- time hh:mm:ss
 %D  -- date YYYY-MM-DD
 %a  -- altitude (*)
 %v  -- speed (**)
 %d  -- course (direction) (**)
 %X  -- additional data given by input .itn file (***)
 %y  -- type of location (0=POS, 1=NODE, 2=CROSS, 3=ADDR, 4=STREET)
 %n  -- full data string
 %c  -- city name
 %s  -- street name
 %h  -- house number
 %H  -- alternative house number (on the other side of the street)
 %%  -- %
(*) not yet implemented.
(**) only works when no --lat and --lon are given.
(***) only works when an input .itn file was given. otherwise it equals to "|0|".
Retrieved from "http://opentom.org/Whereami"
Personal tools