logo separator

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

From Robert Vollmert rvollmert-lists at gmx.net on Sun Feb 8 08:16:01 GMT 2009

On Feb 7, 2009, at 23:14, Mark Burton wrote:
> The attached patch appears to fix the wild zooming away and back again
> problem we have been seeing in the routing. Please test.

[patch switching lat/lon offsets to correct order for large offsets]

Thanks Mark, that's great! A simple bug! I was hunting for some error  
in our understanding of the format...

For reference, these offsets store the coordinates of the routing  
nodes, and big offsets show up in large (bounding-box wise) route  
centers, which may show up if these route centers contain long roads.

> The interesting question is: why didn't it show up in mapsource?

We're writing some redundant data -- for instance, the routing nodes'  
coordinates also occur as coordinates in the corresponding polyline.  
Mapsource may well route along the routing graph in NOD, but only draw  
using the TRE/RGN data, while the GPS receivers handle this differently.

Cheers
Robert




More information about the mkgmap-dev mailing list