OK, this seems to be a device artefact. If I split the route in two halves again, the non-toll short cut is chosen again.



Am 28.07.2017 um 21:32 schrieb Bodo Pfelzer:

Hi Andrzej,

thanks. The patch helped a lot. Now my device is able to calculate the routes. Unfortunately I don't understand the essential trick. As a side effect, the patch seems to annul my toll avoidance coded in "inc/roadspeed".  There I reduced mkgmap:road-speed-max by one for all toll roads, that must be paid per kilometre. Do you think it is possible to keep the modified road_speeds?


Am 27.07.2017 um 13:08 schrieb Andrzej Popowski:
Hi,

I think TMC is supported only by NT maps. There should be TMC ID somewhere in img and there is additional file with extension *.trf in mapset, similarly like global index. It would need a lot of revers engineering to find how it all works. And there is not much TMC data in OSM. Probably only in Germany.

I have done some work in my own styles to improve long distance routing. This include recognizing international roads and increase of road class for junctions. I will try to prepare a patch for default style.


-- 
Bodo Pfelzer                          Fon: +49 2103 33993-14
                                      Fax: +49 2103 33993-10

Business-Logics GmbH                  Amtsgericht Düsseldorf
Telleringstraße 11                    HRB 50613
40721 Hilden                          Geschäftsführer: 
                                      Dr. Bodo Pfelzer, Ralf Reddin, Holger Wiechert