navit-project.org
http://forum.navit-project.org/

[solved] Route path coordinates
http://forum.navit-project.org/viewtopic.php?f=13&t=402
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..:
Code:
<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.
Code:
<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
http://www.phpbb.com/