I've just discovered that I can change the colour of the icon which is
sufficient to me.

Helmut Jarausch <hjarau...@gmail.com> schrieb am So., 27. Okt. 2019, 13:55:

> Harry, thank you very much for your detailed description. It took some
> time to understand the mechanism. And, as always, the option to select this
> new routing profile was a bit hidden.
> One last question: is it even possible to assign a new icon to my new
> profile.
> Currently, both the standard car profile and my Car15 profile use the "car
> icon" and can't be distinguished at first glance.
> Thanks again,
> Helmut
>
> Harry van der Wolf <hvdw...@gmail.com> schrieb am Fr., 25. Okt. 2019,
> 19:52:
>
>> You have two options:
>> 1. Create a simple one direct from the Settings
>> 2. Modify the existing routing profile for car/bike/pedestrian and use
>> that as "custom" profile, again via the Settings.
>>
>> ====
>> 1. Create a profile directly from the settings:
>> Settings -> Application profiles.
>> You see a number of profiles and the button Add.
>> You select one of the existing "base profiles, give it a new name, and
>> start modifying.
>>
>> This is just "play & learn". You could create a profile for a camper or
>> old-timer by simply only reducing the max speed. Or a "touristic profile"
>> by disabling motorways and toll roads.
>>
>>
>> ====
>> 2. Modify the existing routing profile (Extract a sub profile)
>> If you have an up-to-date OsmAnd, you can simply download the routing.xml
>> from github from the osmand-resources
>> <https://github.com/osmandapp/OsmAnd-resources> repository:  routing.xml
>> <https://github.com/osmandapp/OsmAnd-resources/blob/master/routing/routing.xml>
>>
>> Explaining all the settings in this routing.xml is something I will not
>> do. That takes a complete tutorial and a lot of the options are explained
>> in a summarized way. I created a few on the Car profile by simply
>> extracting that one from the complete routing.xml (with the header data
>> above it).
>>
>> OsmAnd uses the A* "shortest path" algorithm to calculate routes (Google
>> for it). In OsmAnd the heuristic coefficient (Google for it) is 1.0. This
>> means that ALL possible roads are examined. This means that it is slooow
>> and uses an awful lot of memory.
>> I have attached 3 profiles: mycar15.xml, mycar13.xml and caravan.xml.
>> Please have a look at them if you want to learn from it. They are
>> certainly not meant as perfect examples: absolutely not. They work fine for
>> me and should give you an insight in what can be done.
>>
>> The mycar15.xml and mycar13.xml is 100% the CAR profile but with an
>> heuristic_coefficient of 1.5 and 1.3 respectively. On long routes this
>> creates the same routes, but now for 1000+ kms in a fraction of the time.
>> On shorter routes with a lot of possible roads, like in cities, it means
>> that the calculated route might be slightly less optimal. A lot of
>> navigation apps us a heuristic factor between 1.3 and 1.6
>>
>> The carvan.xml is a CAR routing with  heuristic Coefficient of 1.3, a
>> reduced max speed of 90,  a higher priority for motorways and a reduced
>> priority for small roads.
>>
>> These profiles can be copied into
>> Android/data/net.osmand(.plus)/files/routing.
>> Now when you want to create a profile based on these files, you go again
>> in Settings->Application profiles.
>> Select CAR profile. On the next page you give it a name.
>> Select from "Navigation type", your created profile(s).
>> And continue.
>>
>> some links:
>> https://theory.stanford.edu/~amitp/GameProgramming/Heuristics.html
>> in German: https://de.wikipedia.org/wiki/A*-Algorithmus  (Assuming you
>> are German/Austrian/Swiss)
>>
>>
>> Harry
>>
>>
>> Op do 24 okt. 2019 om 20:40 schreef Helmut Jarausch <hjarau...@gmail.com
>> >:
>>
>>> How can one configure different routing parameters for different
>>> profiles?
>>> Many thanks for a hint,
>>> Helmut
>>>
>>> Harry van der Wolf <hvdw...@gmail.com> schrieb am Fr., 18. Okt. 2019,
>>> 18:53:
>>>
>>>> I have an 2 extra car (one with a heuristic coeficient of 1.5* and a
>>>> "slow" one) and an extra caravan profile and they work fine. Both in
>>>> calculating alternative routes and in the time to travel that route (when
>>>> using a route that is equal for all).
>>>>
>>>> Can you share your profile here?
>>>> You can find it in Android/data/net.osmand(.plus)/files/routing
>>>>
>>>> *:OsmAnd still has issues calculating long routes. When using an
>>>> HC=1.5, I can simply calculate routes over 1500 km, where 1450~1475 km is
>>>> over motorways anyway, so the normal calculation (slooooow) and my
>>>> calculation still deliver the same route.
>>>>
>>>> Harry
>>>>
>>>> Op vr 18 okt. 2019 om 17:53 schreef David <dadav...@gmail.com>:
>>>>
>>>>> I programmed a extra profile for navigation.
>>>>> For my motorhome I set minimum speed on 10 km/hr. Normal speed on 33
>>>>> km/hr. Max speed on 100 km/hr. All way lower then the normal car settings.
>>>>> On a 2250 km roadtrip Osmand calculates a minnimal difference !!With
>>>>> the slower motorhome having the lowest amount of driving hours!!
>>>>> Ideas annyone?
>>>>>
>>>>> --
>>>>> 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 osmand+unsubscr...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/osmand/03f1b351-b4f9-4a14-b0c9-420c5f41c79d%40googlegroups.com
>>>>> .
>>>>>
>>>> --
>>>> 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 osmand+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/osmand/CAGARPpuZD_MNvYCw73szMmDiFC9juePLaiQyf23Mz20CTkG2Gg%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/osmand/CAGARPpuZD_MNvYCw73szMmDiFC9juePLaiQyf23Mz20CTkG2Gg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> 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 osmand+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/osmand/CA%2BCgGZQfaMsz94A6PUm18m2t%3DQwWCBJwkkAUByoDBhyQ5v09nQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/osmand/CA%2BCgGZQfaMsz94A6PUm18m2t%3DQwWCBJwkkAUByoDBhyQ5v09nQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 osmand+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/osmand/CAGARPpvp1tORPGBBTvA6vy%2B6Ct3zQmGq5DSEaorLSp0nbfzgsw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/osmand/CAGARPpvp1tORPGBBTvA6vy%2B6Ct3zQmGq5DSEaorLSp0nbfzgsw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 osmand+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/CA%2BCgGZScZkCQiVPSDwQgkHrnJvpqc3vu--5h%2BbTZmq1sbu0WGg%40mail.gmail.com.

Reply via email to