forum for navit navigation tool
It is currently 21 Oct 2017, 19:30
View unanswered posts | View active topics

All times are UTC

Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Speed limit
PostPosted: 30 Sep 2017, 09:27 

Joined: 20 Jun 2017, 12:03
Posts: 8

Is it possible to set max travelling speed of vehicle?

To be clear. Navit is used in motorhome and usual travel speed is 100km/h. But Navit estimate time of arrival based on max alowed speed of road and of course it give me wrong TOA time.

So how to do that? probabli something with <vehicleprofile and <roadprofile in navit.xml but didn't figured how to do it.


 Post subject: Re: Speed limit
PostPosted: 02 Oct 2017, 17:40 

Joined: 27 Sep 2013, 21:10
Posts: 49
Hi Eslavko,

Actually the time is never estimated from the maximum allowed speed, but it is base on the vehicle profile.

Here's the default vehicle profile ('Car') taken from ... #L201-L217 :


      <vehicleprofile name="car" route_depth="4:25%,8:40000,18:10000" flags="0x4000000" flags_forward_mask="0x4040002" flags_reverse_mask="0x4040001" maxspeed_handling="0" route_mode="0" static_speed="5" static_distance="25">
         <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10" />
         <roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="30" />
         <roadprofile item_types="street_3_city" speed="40" route_weight="40" />
         <roadprofile item_types="street_4_city" speed="50" route_weight="50" />
         <roadprofile item_types="highway_city" speed="80" route_weight="80" />
         <roadprofile item_types="street_1_land" speed="60" route_weight="60" />
         <roadprofile item_types="street_2_land" speed="65" route_weight="65" />
         <roadprofile item_types="street_3_land" speed="70" route_weight="70" />
         <roadprofile item_types="street_4_land" speed="80" route_weight="80" />
         <roadprofile item_types="street_n_lanes" speed="120" route_weight="120" />
         <roadprofile item_types="highway_land" speed="120" route_weight="120" />
         <roadprofile item_types="ramp" speed="40" route_weight="40" />
         <!--roundabout does not apply to OSMaps -->
         <roadprofile item_types="roundabout" speed="10" route_weight="10"/>
         <roadprofile item_types="ferry" speed="40" route_weight="40"/>

So if you edit your navit.xml file, and add a block similar to this one you can create a motorhome-specific profile.
I guess that you would need to change at least "street_n_lanes" and "highway_land".

Once you have a profile you're satisfied with, we can add it to the default config for the other motorhome users out there.

Let us know if you have more questions!


 Post subject: Re: Speed limit
PostPosted: 02 Oct 2017, 17:56 

Joined: 20 Jun 2017, 12:03
Posts: 8

I can't figure what to change to what.

<roadprofile item_types="street_n_lanes" speed="120" route_weight="120" />

I can't find what speed means, and what route_weight.
Actually which one to change.

 Post subject: Re: Speed limit
PostPosted: 03 Oct 2017, 13:50 
User avatar

Joined: 06 Jan 2014, 19:34
Posts: 37
Location: Franken, Bayern, Germany
The first one, speed, is the one you want to alter. It's used to calculate the time needed to travel a distance on that kind of road. The second parameter "Route_weight" is for prioritizing one road type over another when calculating a route. So if you don't want to use highways or multi-lane streets, lower the weight for those. Or if you don't mind which one to use, set the second parameter to the same value for all types of roads you find equally satisfactory. The higher the "weight" value, the more navit will try to use that kind of road (even if it's farther).

 Post subject: Re: Speed limit
PostPosted: 04 Oct 2017, 06:17 

Joined: 20 Jun 2017, 12:03
Posts: 8
Thanks for answering. Will try on next trip.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

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:  
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