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.

Attachment: merge_lines.patch
Description: Binary data




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

Regards
Thilo

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to