From OpenTom
| 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
|
whereami 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
|
whereami 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
|
whereami 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
But you can also use whereami from a shell (TTconsole), for example:
|
Man kann whereami aber auch direkt aus der Shell (TTconsole) heraus benutzen, zum Beispiel:
|
Mais vous pouvez également utiliser whereami à partir du shell (TTconsole), par exemple:
|
whereami --lon 53.1234 --lat 9.1234
will 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.
|
ermittelt 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.
|
communique 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.
|
Geeft 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
will 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.
|
will 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.
|
va 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|".