[PATCH v1] - tweeze arc headings to improve routing instructions

The attached patch (which also includes the drive-on-left patch because it's based on that) attempts to improve the quality of routing instructions so that when a turn off a road that doesn't involve a big heading change is required, the GPS should say "turn left/right" rather than "keep left/right". It can also reduce the number of "keep left/right" instructions you get when you are not leaving the main road but passing a junction that has a shallow turn (e.g. sometimes happens on motorways when it tells you to keep left/right even though you are not leaving the motorway). I have tested it a little and it appears to work. I expect there are situations where it does the wrong thing so it would be great if people could give it a go and see if it behaves OK. There isn't any option to enable the feature at the moment. If you use the patch, it will be enabled. It's currently issuing a warning for each change it makes but later that can be downgraded to info. Cheers, Mark

Mark Burton wrote:
than "keep left/right". It can also reduce the number of "keep left/right" instructions you get when you are not leaving the main road but passing a junction that has a shallow turn
Sometimes I see the opposite problem: A road that splits into two roads, each at about 45 degree angle, and I'd like to get a "keep left" but its missing.

Ralf,
Sometimes I see the opposite problem: A road that splits into two roads, each at about 45 degree angle, and I'd like to get a "keep left" but its missing.
Well, it may be possible to fix that as well. I need to see a concrete example so that I can understand what needs to be done. Cheers, Mark

Mark Burton schrieb:
Sometimes I see the opposite problem: A road that splits into two roads, each at about 45 degree angle, and I'd like to get a "keep left" but its missing.
Well, it may be possible to fix that as well. I need to see a concrete example so that I can understand what needs to be done.
I came across it here: http://www.openstreetmap.org/?lat=49.64147&lon=10.22032&zoom=17&layers=B000F... Coming on the secondary highway (Hüttenstraße) from east to west I get no turning instruction when heading south into secondary highway Frankenstraße. I do get one when turning right in north-westerly direction on St2418. Mapsource behaves just like my eTrex Legen HCx.
participants (2)
-
Mark Burton
-
Ralf Kleineisel