Added track logging example to the vehicle section.
authorchristeck <christeck@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 12 Aug 2008 19:14:40 +0000 (19:14 +0000)
committerchristeck <christeck@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 12 Aug 2008 19:14:40 +0000 (19:14 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@1254 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit.xml

index a46205e..2c4ba0e 100644 (file)
@@ -47,7 +47,14 @@ Change to your home coordinates.
        <graphics type="opengl" />
 -->
        
-       <vehicle name="Mine" enabled="yes" active="1" source="gpsd://localhost" gpsd_query="w+xj" color="#0000ff"/>
+       <vehicle name="Mine" enabled="yes" active="1" source="gpsd://localhost" gpsd_query="w+xj" color="#0000ff">
+               
+               <!--Navit can write a tracklog in several formats (gpx, nmea or textfile):
+               <log type="gpx" data="track_%Y%m%d%i.gpx" flush_size="1000" flush_time="30" />
+               -->
+       </vehicle>
+       
+       
        <!-- To improve visibility of the cursor in gtk, you may optionally add:
                color2="#rrggbb"  - draws a second cursor inside the original, in the specified colour
                animate="1" - animates the cursor, as series of moving dots