logo separator

[mkgmap-dev] [PATCH v2] - merge nodes to remove evil short arcs

From Mark Burton markb at ordern.com on Wed May 27 11:53:57 BST 2009

v2

now reports OSM ids of merged/replaced nodes (at the cost of using more
memory while the XML is being converted).

only does this stuff if route option enabled.

----------

The attached patch is a first stab at a solution for this problem.

Please test.

It is implemented in an iterative fashion and it should terminate after
a few passes. If 10 passes are executed it will give up, please report
if you see it doing that.

It would be nice if the diagnostics reported the OSM id of the nodes
rather than their coordinates but I haven't worked out the best way of
achieving that yet. 

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-short-arc-fix-v2.patch
Type: text/x-patch
Size: 6230 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090527/9f953a43/attachment.bin 


More information about the mkgmap-dev mailing list