logo separator

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

From Mark Burton markb at ordern.com on Wed May 27 15:28:33 BST 2009

v3

now requires the --remove-short-arcs option to enable this feature

now deletes consecutive identical points

----------

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-v3.patch
Type: text/x-patch
Size: 7906 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090527/5f00b412/attachment.bin 


More information about the mkgmap-dev mailing list