I enabled the truck mode and created a completely new truck section inside the routing.xml (and named it truck).
It seems to be an empty shell. I can select the truck profile but route/duration are identical to the car profile. So I modified the car profile again In the top I changed maxspeed from 130 to 90 <routingProfile name="car" baseProfile="car" restrictionsAware="true" minDefaultSpeed="45.0" maxDefaultSpeed="90.0" slightly lower you get the speed section, which begins with the following 3 lines. <select value="$maxspeed:practical" t="maxspeed:practical"/> <!--<select value="$maxspeed:advisory" t="maxspeed:advisory"/> <select value="$maxspeed" t="maxspeed"/> --> as you can see I disabled the 2nd and 3rd line. *This is a must(!)* otherwise it will still take the max speeds or advisory speeds from the road segments. In the speed section itself I changed only the following speeds. <!-- most important backbone roads --> <select value="80" t="highway" v="motorway"/> <select value="70" t="highway" v="motorway_link"/> <select value="65" t="highway" v="trunk"/> <select value="60" t="highway" v="trunk_link"/> And in the road priorities I increased the motorway sections with 0.1 <select value="1.2" t="highway" v="motorway"/> <!-- make links slightly smaller so in connections they will not be used --> <select value="1.1" t="highway" v="motorway_link"/> This profile gives me values that I can trust (as they are equal to other nav apps). Harry 2018-02-04 11:47 GMT+01:00 We Ka <[email protected]>: > > > Am Mittwoch, 31. Januar 2018 16:18:35 UTC+1 schrieb Jack Burke: >> >> Peter B: OsmAnd has a separate profile for trucks. It just isn't enabled >> by default. Have you enabled it? > > > You have to enable the developer mode, then you will be able to enable > other vehicles like truck and motor bike. > > -- > You received this message because you are subscribed to the Google Groups > "Osmand" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Osmand" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
