logo separator

[mkgmap-dev] Commit: r1404: Fixed bug that broke turn restrictions if via node was also a POI.

From svn commit svn at mkgmap.org.uk on Tue Nov 24 00:15:11 GMT 2009

Version 1404 was commited by markb on 2009-11-24 00:15:11 +0000 (Tue, 24 Nov 2009) 

Fixed bug that broke turn restrictions if via node was also a POI.

If a node was both a POI and the "via" node of a turn restriction, using
the link-pois-to-ways option to make the POI's tags accessible when
processing the way, broke the turn restriction processing because it
did not replace the POI's Node object when the Coord was swapped out
for a CoordPOI and so the Node continued to hold a reference to the
original Coord and not the CoordPOI. The turn restrictions went on to
use the original Coord from the original Node and as its identity didn't
match the CoordPOI, the restrictions got skipped. No more.


More information about the mkgmap-dev mailing list