Hi Gerd,

I think I found the problem:

// check if merging would create a closed way - which should not
// be done (why? WanMil)
if (cStart == cOtherEnd) {
   return false;
}

The RoadMerger avoids to create closed roads. In case the roads are not merged in exactly the same order this is the reason for different merge results due to roundabouts. In case a roundabout is divided in multiple ways the number of merged ways is random.

At the moment I have no time to check that more in detail but I think the code listed above can be removed.

WanMil

Hi WanMil,

please have a look, I don't fully understand why.

Gerd


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


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

Reply via email to