[solved] Route path coordinates
Page 2 of 2

Author:  Mapmapper [ 06 Nov 2013, 19:41 ]
Post subject:  Re: [solved] Route path coordinates

The Navit-textfile contains Latitude, Longitude and the kind of Point (trackpoint most). This is, what measured with gps.
In navit.xml you shoul do this, to store the measured points after vehicle name..:
<vehicle name="Local GPS" profilename="bike" enabled="yes" active="1" source="android:" follow="1">
<!-- Navit can write a tracklog in several formats (gpx, nmea or textfile): -->
<log enabled="yes" type="textfile" data="/sdcard/navit/logs/track_%Y%m%d-%%i_nav.txt" flush_size="1000" flush_time="30">

And then, there is the debug-textfile. There are lat. and lon. in hexadecimal-form. This is the route itsself, with announcements-text at the point, where something was said.
<log enabled="yes" type="textfile_debug" data="/sdcard/navit/logs/debug_%Y%m%d-%%i.txt" flush_size="1024" flush_time="30"/>

Its in navit.xml, you need only set enabled to yes.

Route-Guard is another thing. There, in the file you have to type in lat.+ lon.

I hope, its right.

Author:  Brodsbruno [ 07 Nov 2013, 08:54 ]
Post subject:  Re: [solved] Route path coordinates

Hi Mapmapper,

Thanks for your reply, but it was not the route I have taken I was looking for, but the route I will be taking, but I have found it, as I did not know anything about the hexadecimal-form of the coordinates. I am using the same code lusipa used in the route.c file and then after that I just change the hexadecimal to lon,lat.

Thanks though

Page 2 of 2 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group