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:33:36 BST 2021

Hi all,

it was discussed before:
http://gis.19327.n8.nabble.com/RoadMerger-tp5791849p5792653.html

My patch probably doesn't work with overlay lines (yet).

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <GPetermann_muenchen at hotmail.com>
Gesendet: Mittwoch, 5. Mai 2021 12:05
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] patch: improve RoadMerger: allow to merge roads with      reversed points

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


More information about the mkgmap-dev mailing list