<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dhde.de &#187; TomTom</title>
	<atom:link href="http://www.dhde.de/tag/tomtom/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dhde.de</link>
	<description>dhde.de über das Leben und Dinge die keiner braucht</description>
	<lastBuildDate>Tue, 24 Aug 2010 12:52:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>TomTom Route aufzeichnen und darstellen</title>
		<link>http://www.dhde.de/2009/08/tomtom-route-aufzeichnen-und-darstellen/</link>
		<comments>http://www.dhde.de/2009/08/tomtom-route-aufzeichnen-und-darstellen/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 00:17:52 +0000</pubDate>
		<dc:creator>Dietrich Heise</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[TomTom]]></category>

		<guid isPermaLink="false">http://www.dhde.de/?p=152</guid>
		<description><![CDATA[Wie vor ein paar Tagen beschrieben, ist es mit einem TomTom möglich die gefahrenen Routen, bzw alle GPS-Daten der zurückgelegten Strecke vom TomTom aufzeichnen zu lassen. Diese gesammelten Daten lassen sich dann z.B. über die folgende Seite: http://maps.gpsvisualizer.com/ grafisch in Google maps darstellen. Da es ein paar Probleme gab, um mehrere Routen pro Tag aufzeichnen [...]]]></description>
			<content:encoded><![CDATA[<p>Wie vor ein paar Tagen beschrieben, ist es mit einem TomTom möglich die gefahrenen Routen, bzw alle GPS-Daten der zurückgelegten Strecke vom TomTom aufzeichnen zu lassen.</p>
<p>Diese gesammelten Daten lassen sich dann z.B. über die folgende Seite:</p>
<p><a title="http://maps.gpsvisualizer.com/" href="http://maps.gpsvisualizer.com/" target="_blank">http://maps.gpsvisualizer.com/</a> grafisch in Google maps darstellen.</p>
<p>Da es ein paar Probleme gab, um mehrere Routen pro Tag aufzeichnen zu lassen, hab ich das Start-Skript etwas geändert, so dass jetzt beim Start die alten Daten archiviert werden. Hier nun das Start-Skript:<span id="more-152"></span></p>
<p>Datei: SDKRegistry/TTTracklog.cap</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Version|100|
AppName|TTTracklog-wrapper|
AppPath|/mnt/sdcard/bin/|
AppIconFile|track.bmp|
AppMainTitle|TTTracklog|
AppPort|2001|
COMMAND|CMD|hallo|track.bmp|TTTracklog|</pre></div></div>

<p>Datei: bin/TTTracklog-wrapper</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Wrapper script for TTTracklog (c) Markus Hoffmann 2008-2009</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># This file is part of TTTracklog, the TomTom GPS Track logger</span>
<span style="color: #666666; font-style: italic;"># ======================================================================</span>
<span style="color: #666666; font-style: italic;"># TTTracklog is free software and comes with NO WARRANTY - read the file</span>
<span style="color: #666666; font-style: italic;"># COPYING for details</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Changelog:</span>
<span style="color: #666666; font-style: italic;"># 2009-04-17: First version with gzip MH</span>
<span style="color: #666666; font-style: italic;"># 2009-04-17: fixed bug MH</span>
<span style="color: #666666; font-style: italic;"># 2009-04-23: Added Timezone Option</span>
<span style="color: #666666; font-style: italic;"># 2009-08-08 Edit by Dietrich Heise</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Here the options you might want to change:</span>
<span style="color: #666666; font-style: italic;"># set this to 'yes' if you want old log files to be gzipped</span>
<span style="color: #007800;">dogzip</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># set this to 'yes' if you want gpx files to be gzipped</span>
<span style="color: #007800;">gpxgzip</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># set this to 'yes' if you want old logfiles to be removed.</span>
<span style="color: #007800;">removelog</span>=no
&nbsp;
<span style="color: #666666; font-style: italic;"># set this to 'yes' if you want the citynames and streetnames be added to</span>
<span style="color: #666666; font-style: italic;"># the .itn files. Be careful, this is really sloooow(!) (several minutes)</span>
<span style="color: #007800;">dowhereami</span>=no
&nbsp;
<span style="color: #666666; font-style: italic;"># Set timezone (relative to UTC)</span>
<span style="color: #666666; font-style: italic;"># Here is a quick solution:</span>
<span style="color: #666666; font-style: italic;"># export TZ=UTC-02</span>
<span style="color: #666666; font-style: italic;"># And this is the best solution (including daylight saving times)</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">TZ</span>=<span style="color: #ff0000;">&quot;CEDT-01:00:00CEST-02:00:00,M3.4.0,M10.4.0&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#  PWD, HOME and PATH</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>sdcard
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>sdcard<span style="color: #000000; font-weight: bold;">/</span>bin
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LD_LIBRARY_PATH</span>=<span style="color: #007800;">$LD_LIBRARY_PATH</span>:<span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>sdcard<span style="color: #000000; font-weight: bold;">/</span>lib
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>sdcard<span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
<span style="color: #007800;">t_date</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">&quot;+%Y-%m-%d&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">t_time</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">&quot;+%d_%H%M%S&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #007800;">day_time</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">&quot;+%Y-%m-%d_%H_%M_%S&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-x</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>sdcard<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gzip</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;gzip is not installed.&quot;</span>
  <span style="color: #007800;">dogzip</span>=no
  <span style="color: #007800;">gpxgzip</span>=no
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-x</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>sdcard<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>whereami <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;whereami is not installed.&quot;</span>
  <span style="color: #007800;">dowhereami</span>=no
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">efl</span>=statdata<span style="color: #000000; font-weight: bold;">/</span>nmea-<span style="color: #007800;">$t_date</span>.log
<span style="color: #007800;">fl</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ls</span> statdata<span style="color: #000000; font-weight: bold;">/</span>nmea-????-??-??.log<span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Now stop an eventually running process and give it time to writeout</span>
<span style="color: #666666; font-style: italic;"># the gpx file and the statistics.</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">killall</span> TTTracklog
&nbsp;
<span style="color: #666666; font-style: italic;"># hier muessen wir dem toedlich getroffenen TTTracklog noch</span>
<span style="color: #666666; font-style: italic;"># ein wenig Zeit geben, um .gpx und Statistik auszuspucken...</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">pidof</span> TTTracklog ; <span style="color: #000000; font-weight: bold;">do</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;waiting for TTTracklog to terminate ...&quot;</span>
  <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># In the meantime, we are going to cleanup with the files</span>
<span style="color: #666666; font-style: italic;"># if wanted...</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> fff <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>sdcard<span style="color: #000000; font-weight: bold;">/</span>statdata<span style="color: #000000; font-weight: bold;">/*</span>log<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">do</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dogzip</span>&quot;</span> = <span style="color: #ff0000;">&quot;yes&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
    <span style="color: #000000; font-weight: bold;">then</span>
      <span style="color: #c20cb9; font-weight: bold;">gzip</span> <span style="color: #660033;">-v</span> <span style="color: #007800;">$fff</span>
	  <span style="color: #666666; font-style: italic;"># evtl noch die gpx Dateien gzippen</span>
      <span style="color: #c20cb9; font-weight: bold;">gzip</span> <span style="color: #660033;">-f</span> statdata<span style="color: #000000; font-weight: bold;">/*</span>.gpx
	  <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #ff0000;">&quot;/mnt/sdcard/statdata/<span style="color: #007800;">$day_time</span>/&quot;</span>
	  <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>sdcard<span style="color: #000000; font-weight: bold;">/</span>statdata<span style="color: #000000; font-weight: bold;">/*</span>gz <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>sdcard<span style="color: #000000; font-weight: bold;">/</span>statdata<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$day_time</span><span style="color: #000000; font-weight: bold;">/</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
TTTracklog <span style="color: #660033;">--gnt</span> <span style="color: #660033;">--gnd</span> <span style="color: #660033;">--gnn</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Jetzt die Meldung rausgeben...</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;FlashMessageV01|TTTracklog is now running in the background: PID=<span style="color: #780078;">`pidof TTTracklog`</span>|8000|\0\c&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #ff0000;">&quot;/var/run/SDK.TomTomNavigationServer.$$.1.message&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> finish<span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #ff0000;">&quot;/var/run/SDK.TomTomNavigationServer.$$.1.finished&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dowhereami</span>&quot;</span> = <span style="color: #ff0000;">&quot;yes&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #007800;">fil</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ls</span> itn<span style="color: #000000; font-weight: bold;">/</span>????-??-??.itn<span style="color: #000000; font-weight: bold;">`</span>
  <span style="color: #000000; font-weight: bold;">for</span> fff <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$fil</span>
  <span style="color: #000000; font-weight: bold;">do</span>
    whereami <span style="color: #007800;">$fff</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$fff</span>.itn
    <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #007800;">$fff</span>
  <span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<div class="shr-publisher-152"></div>]]></content:encoded>
			<wfw:commentRss>http://www.dhde.de/2009/08/tomtom-route-aufzeichnen-und-darstellen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: TomTom Wegaufzeichnung</title>
		<link>http://www.dhde.de/2009/07/howto-tomtom-wegaufzeichnung/</link>
		<comments>http://www.dhde.de/2009/07/howto-tomtom-wegaufzeichnung/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 17:58:04 +0000</pubDate>
		<dc:creator>Dietrich Heise</dc:creator>
				<category><![CDATA[anderes]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[TomTom]]></category>

		<guid isPermaLink="false">http://www.dhde.de/?p=96</guid>
		<description><![CDATA[Es gibt für ein TomTom ein Tool TTTracklog. Mit diesem Tool, ist es möglich den gefahrenen Weg aufzeichnen zu lassen, um z.B. später eine Route auf einer Karte aus diesen Daten zu erstellen. Hierzu wird einfach das Tool auf dem TomTom installiert und beim starten des TomTom&#8217;s kann man den Tracker dann starten, so dass [...]]]></description>
			<content:encoded><![CDATA[<p>Es gibt für ein TomTom ein Tool <em><a title="TTTracklog" href="http://www.opentom.org/TTTracklog" target="_blank">TTTracklog</a></em>. Mit diesem Tool, ist es möglich den gefahrenen Weg aufzeichnen zu lassen, um z.B. später eine Route auf einer Karte aus diesen Daten zu erstellen.</p>
<p>Hierzu wird einfach das Tool auf dem TomTom installiert und beim starten des TomTom&#8217;s kann man den Tracker dann starten, so dass GPS-Daten gesammelt werden. Es wird einfach die ZIP-Datei auf dem TomTom entpackt. Folgende Ordner (d) oder Dateien (-) sollten nach dem entpacken auf dem TomTom vorhanden sein:</p>
<blockquote>
<pre>d      bin/
d      itn/
-      README
-      RELEASE_NOTES
d      SDKRegistry/
d      statdata/
d      text/</pre>
</blockquote>
<p>Die Route wird z.B. im <a title="GPX" href="http://de.wikipedia.org/wiki/GPS_Exchange_Format" target="_blank">GPX</a> Format gesichert.<br />
Derzeit plane ich eine solche Route für den kommenden Urlaub aufzeichnen zu lassen um später dann diese Route über z.B. <a title="maps.google.de" href="http://maps.google.de/" target="_blank">maps.google.de</a> darstellen zu können.</p>
<h3>Update:</h3>
<p>Eine solche Route sieht dann z.B. folgendermaßen aus:<br />
<span id="more-96"></span></p>
<h2><a href="http://www.everytrail.com/view_trip.php?trip_id=293052">Testroute:</a></h2>
<div style="border: 2px solid #acd7f5; padding: 5px; width: 500px; height: 420px;"><object id="main" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="100%" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="FlashVars" value="tripId=293052&amp;picDim=250&amp;mapType=Map&amp;units=&amp;isWidget=true&amp;key=ABQIAAAAggE6oX7o-2CFkLBRN20X9BTCaWgBOrVzmDbJc0e41WeTNzCWNBSYkdZ8D6iOk2yqQd-kgDCXfoqiUQ&amp;host=http://www.everytrail.com/get_data.php" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.everytrail.com/swf/main.swf" /><param name="name" value="main" /><param name="align" value="middle" /><param name="flashvars" value="tripId=293052&amp;picDim=250&amp;includeElevation=&amp;mapType=Map&amp;units=&amp;isWidget=true&amp;key=ABQIAAAAggE6oX7o-2CFkLBRN20X9BTCaWgBOrVzmDbJc0e41WeTNzCWNBSYkdZ8D6iOk2yqQd-kgDCXfoqiUQ&amp;host=http://www.everytrail.com/get_data.php" /><embed id="main" type="application/x-shockwave-flash" width="100%" height="100%" src="http://www.everytrail.com/swf/main.swf" align="middle" name="main" allowscriptaccess="always" bgcolor="#ffffff" quality="high" flashvars="tripId=293052&amp;picDim=250&amp;includeElevation=&amp;mapType=Map&amp;units=&amp;isWidget=true&amp;key=ABQIAAAAggE6oX7o-2CFkLBRN20X9BTCaWgBOrVzmDbJc0e41WeTNzCWNBSYkdZ8D6iOk2yqQd-kgDCXfoqiUQ&amp;host=http://www.everytrail.com/get_data.php"></embed></object></div>
<p>Widget powered by EveryTrail: <a href="http://www.everytrail.com">Share and Plan your Trips</a></p>
<div class="shr-publisher-96"></div>]]></content:encoded>
			<wfw:commentRss>http://www.dhde.de/2009/07/howto-tomtom-wegaufzeichnung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
