A couple of years ago I asked the same. At that time it was not possible as the available profiles were hard-coded into OsmAnd. I expected that when a new section was added to the xml, it would automatically be picked up (as that is where the xml definition files are for), but it was not that way. I assume nothing has changed there.
And maybe your next question: Slightly later I suggested to someone who wanted to have a "motor bike" profile and never used the bicycle or pedestrian parts, to implement his profiles into one of these. That only worked partially as also in that case "some things" for those profiles were hard-coded into OsmAnd. As I wanted to have that functionality I ended up with a routing.xml.caravan with an modified car section inside the /Android/net.osmand(.plus)/files folder, and renamed the file to routing.xml when applicable. So most of the time I simply used the internal routing.xml version, and a few weeks per year the (renamed) routing.xml.caravan version in the Android/net.osmand(.plus)/files folder. I use Mapfactor for car navigation, and OsmAnd for cycling/hiking. As soon as OsmAnd has a decent rendering and route calculation speed (although this one is acceptable when using a heuristic coefficient of 1.3), I will return to OsmAnd for car navigation as well. (and I don't have a caravan anymore) Harry 2018-01-29 15:22 GMT+01:00 Peter B <[email protected]>: > Harry, thanks for your hints. > But how to do that if I don't want to change the profile of "car" but want > to have a separate profile for "truck" with the appropriate changes ? > See my questions in > https://groups.google.com/forum/#!topic/osmand/3YdLYzCkXJM > Regards Peter > > Am Montag, 29. Januar 2018 13:42:47 UTC+1 schrieb Harry van der Wolf: >> >> MapFactor Navigator only allows for correct truck driving if you buy the >> Tomtom maps. You can indeed set vehicle height, width and weight, but it is >> not used unless you have the Tomtom maps. >> >> OsmAnd uses internally a routing.xml. It also contains road speeds and >> max speed. >> >> max speed: https://github.com/osmandapp/OsmAnd-resources/blob/ >> master/routing/routing.xml#L50 >> >> With regard to speeds per road: https://github.com/osman >> dapp/OsmAnd-resources/blob/master/routing/routing.xml#L266 >> >> Download that file to your computer, edit it and put it in the Osmand >> folder "/Android/data/net.osmand(.plus)/files" on your internal memory >> or sdcard, wherever you told Osmand to store its data. >> >> Really close Osmand and after opening Osmand again, it should use it. >> >> Harry >> >> >> -- 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.
