logo separator

[mkgmap-dev] patch: improve RoadMerger: allow to merge roads with reversed points

From Gerd Petermann GPetermann_muenchen at hotmail.com on Wed May 5 11:05:19 BST 2021

Hi all,

up to now RoadMerger doesn't merge (combine) two roads if the have different directions. This is OK for oneway roads but I see no need for this with other roads. The attached patch changes this. It has an influence on file size (safes a few KB in each tile) and very likely also on routing, hopefully to the better/faster.
It also reduces zig-zagging in the low-res-opt branch.

Strangely enough almost all was already implemented, so maybe WanMil (the original author) tried that before and found a reason not to do it. Will search the archives later...

Gerd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merge-roads-reversed.patch
Type: application/octet-stream
Size: 5990 bytes
Desc: merge-roads-reversed.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210505/2533b1bf/attachment.obj>


More information about the mkgmap-dev mailing list