
13 May
2013
13 May
'13
4:46 a.m.
Lines should not be merged if they have different one way properties I would have thought.
So MapElement.isSimilar() should return false if line.isDirection() != otherLine.isDirection() or they both are one-way and they run in opposite directions. (The method would have to be pushed down into MapLine, but it is only used on lines anyway).
I thought the same, but it did not solve the problem completely. In the example from Minko, I still found a (smaller) hole. There are many small fragments named N301 which are joined.
Don't know if this has anything to do with the disappearing lines though as that seems a bit odd... Are the lines really in the map and just not displayed by mapsource etc.?
I'll have a closer look again. Gerd