logo separator

[mkgmap-dev] [PATCH] fix for "pink line of death" bug in routing

From Mark Burton markb at ordern.com on Sun Feb 8 13:50:32 GMT 2009

Hi Robert,

> > Although this patch helped for "small routes" (say < 20km), when I
> > tried a much longer route (90km or so) it went wrong near the end.
> >
> > So back to the drawing board, but at least that's part of the problem
> > sorted if not the whole problem.
> 
> But let's look for related problems. In particular, are the signs of  
> offsets encoded correctly? Negative offsets might explain why  
> occasionally, the route goes off in the opposite direction.

Actually, I think the fix really did solve the major problem.

Further investigation shows that the badness I am seeing with my
"longer route" is related to the number of nodes in a particular way.

If I limit the number of nodes to no more than 16, the routing works
without going wacky. If I have some larger number of nodes (actual
limit TBD but more than 16), the gps gets it wrong - it actually looked
like it routed to the far end of the way rather than the near end.

So, if you use the patch from yesterday and limit the number of nodes in
a way, it's looking pretty good (for the moment!)

Cheers,

Mark



More information about the mkgmap-dev mailing list