[mkgmap-dev] [BUG and PATCH] Use of overlay style file breaks routing, fix attachedFrom Thilo Hannemann thannema at gmx.de on Wed May 27 21:46:06 BST 2009
When using the overlays style file it will break the routing of the map. The reason seems to be that if routable ways are overlayed they get added several times as routable ways. The attached patch will add only the first overlay type as a routable way and the other overlay types as lines. It will also copy the list of points instead of just passing on the pointer (don't know whether that is necessary). -------------- next part -------------- A non-text attachment was scrubbed... Name: bugfix_overlays.patch Type: application/octet-stream Size: 1397 bytes Desc: not available Url : http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090527/c4a654f8/attachment.obj -------------- next part -------------- By the way: when experimenting with overlays I can not control which line of the overlay is painted first, it seems to change randomly. Anybody has an idea why this is so? The LineAdder gets the ways always in the same order. Does they get mixed up somewhere in mkgmap or does the GPS unit do some strange stuff? Regards Thilo
More information about the mkgmap-dev mailing list |