Well - I guess this will never be without errors - with Patch v3 there is again a little loop - now again at the first place:


(only happens with "Shorter Distance" and one of the driving/motorcycle/Dirtbike and so on profiles..).

Also on some other places still detours - in general "Shorter Distance" seems to be much more problematic than "faster time". So for sharp turns - ironically - shorter distance chooses the detour to avoid the sharp turn.


I'm not really sure patch v3 is better than v2 however. Results are 50/50 better/worse. However the arrival times got a bit slower (even if following exactly the same route). I always tried with --x-cycle-map switch - never without. I'm still not so sure what this option really changes for outcome in the end.
So - additional intersection roads would still be king IMHO... (but yes I know - not possible).



On 04.09.2015 19:34, Gerd Petermann wrote:
Hi all,

attached is v3, only small changes:
1) the message "maybe duplicated OSM way " was printed too often
2) with --x-cycle-map, change the headings
at junctions with only three different arcs so that angles of 90° or more
are created.

If I hear no complains I'll commit this patch on monday,
probably without the --x-fix-sharp-angles switch.

I am still trying to work out in what case the Garmin routing algo
prefers a detour, so maybe I find more improvements later.

Ciao,
Gerd


_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-- 
keep on biking and discovering new trails

Felix
openmtbmap.org & www.velomap.org