logo separator

[mkgmap-dev] Commit r4704: detect duplicate roads to log a warning when the lines rules add equal routable lines for one OSM way and ignore them

From svn commit svn at mkgmap.org.uk on Tue May 11 11:34:31 BST 2021

Version mkgmap-r4704 was committed by gerd on Tue, 11 May 2021

detect duplicate roads to log a warning when the lines rules add equal routable lines for one OSM way and ignore them
- Uses the code in RoadMerger to detect roads with equal attributes (type, resolution, speed, class, oneway, vehicles, ...)
- Enable logging of warnings in StyledConverter to see those messages.

This is not (yet) detecting two roads where all attributes are equal despite the min/max resolution. It might be changed to detect that later as this also blows up the IMG file for no good reason. 
Styles which add multiple roads for one OSM way should make use of mkgmap:highest-resolution-only=true anyway.

http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4704


More information about the mkgmap-dev mailing list