logo separator

[mkgmap-dev] [PATCH v1] Merge similar lines and ways

From Thilo Hannemann thannema at gmx.de on Sat Aug 15 11:37:42 BST 2009

The attached will merge lines that are similar* after styling. It is  
activated by the switch "--merge-lines".

As there are less way fragments, the Douglas-Peucker filter will work  
better and the routing should improve somewhat, because the ways will  
be longer and the routing algorithm won't give up too soon. The size  
of the resulting map is reduced a little bit as well.

The patch is based on code published by Johann Gail on this mailing  
list.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: merge_lines.patch
Type: application/octet-stream
Size: 18802 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090815/e9ab08d1/attachment.obj 
-------------- next part --------------



*) similar means that they have the same attributes: name, ref,  
access, etc.

Regards
Thilo



More information about the mkgmap-dev mailing list