navit-project.org

forum for navit navigation tool
It is currently 28 Jun 2017, 08:40
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the development process - coding, creating new features, fixing bugs and custom changes of Navit.

Note: For reporting bugs, use the bug tracker.



Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: [solved] Route path coordinates
PostPosted: 06 Nov 2013, 19:41 
Offline

Joined: 26 Sep 2013, 10:59
Posts: 50
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.


 Profile  
 
 Post subject: Re: [solved] Route path coordinates
PostPosted: 07 Nov 2013, 08:54 
Offline

Joined: 06 Nov 2013, 14:30
Posts: 11
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


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS