That is due to the heuristic coefficient of 1.0 that OsmAnd uses. That is
way over the top. Search for heuristic coefficients in this group and you
will find many posts about it (a lot from me criticizing this ;) and
offering modified route xmls).

I use 2 routing xmls.
One with a hc=1.2 for big city travel for s little more accuracy.
One with a hc=1.5 for long(er) distance travels.

I have a spreadsheet with lots of comparisons (every route calculation 3x
without cache and then averaged for the final time)
See for example two (longer) distance calculations. The calculation
differences remain the same on shorter distances, but if it calculatates a
route in 3 seconds inside a city or 10 seconds is for me not that important.
heuristic coefficient distance
(calculated) calc. travel time
(hours minutes) calculation time
minutes/seconds) Remarks
Zwolle, Nl - Puttgarden ferry, Ge lot of motorway/highway
hc=1.0 487km 4h57m 1m58s
hc=1.2 487km 4h57m 19s
hc=1.5 487km 4h57m 7s
Zwolle - Machiel Vrijenhoeklaan 354, The Hague, Nl first and last part
quite some "in city" routing
hc=1.0 169km 2h4m 1m21s
hc=1.2 169km 2h4m 11s
hc=1.5 169km 2h4m 5s
Note that for in-city routing I always use OsmAnd as it calculates the best
estimated arrival times and routes as it uses its time penalties for
crossroads, traffic lights, etc.

My spreadsheet contains many more lines of comparable calculations in
several countries, road-types, straight-on routes, routes with lots of
parallel route options, routes with much in-city traffic, etc. They
continuously show to me (prove to me) that an hc=1.5 is good for longer
distance and 1.2 is optimal for big city traffic.

Harry

Op zo 4 jul. 2021 om 04:22 schreef RizkyAM <[email protected]>:

> My OSMAnd in-built routing is very slow compared to the Brouter plugin,
> even if it's just several kilometres (in city area), but it's normal when I
> try it outside the city (countryside).
> Video showing the difference between in-built routing and brouter
> <https://youtu.be/uvZU7uIpnv0>
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osmand/85e44fb1-c539-483e-a9d7-617584695f1fn%40googlegroups.com
> <https://groups.google.com/d/msgid/osmand/85e44fb1-c539-483e-a9d7-617584695f1fn%40googlegroups.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/CAGARPpvSaMdJXGKEH%3DeNu-F09jvFCM-iXs_c%3DyehhTPhkhY98Q%40mail.gmail.com.

Reply via email to