logo separator

[mkgmap-dev] [PATCH v1] adjust turn headings more

From Charlie Ferrero charlie at cferrero.net on Sun Jan 24 19:09:50 GMT 2010

On 22/01/2010 13:14, Mark Burton wrote:
>
> This patch modifies the turn heading adjustment code so that the GPS
> will tell you to turn when you are routing from a main road to a side
> road in situations like this:
>
>
>                 S
>                 S  ^
>                 S  |
>    MMMMMMMMMMMMMM  |
>                 M  |
>                 M  |
>                 M
>                 M
>
> You can see that the main road goes around a left corner and the side
> road carries straight on. Without this patch, neither mapsource or a
> Nuvi will tell you to turn right at this junction even if the side road
> has a different road class/speed from the main road.
>
> This patch also allows you to globally enable/disable the possible
> adjustments by providing a bitmask with the --adjust-turn-headings
> option. By default, all (currently, there are 2) kinds of adjustments
> are enabled. See the help blurb for more info.
>
> A value of 1 gives the old behaviour.
>
> Mark
>
The patch seems to work fine, insofar as it doesn't make anything break, 
but I can't seem to find any candidate junctions where the effect of the 
patch is obvious.

Charlie



More information about the mkgmap-dev mailing list