osm-lib icon indicating copy to clipboard operation
osm-lib copied to clipboard

IntersectionDetection fails if way has duplicated nodes

Open buma opened this issue 9 years ago • 0 comments

If node ID appears twice in same way it is added to intersectionNodes the second time it appears. Because of this in R5 zero length edge is created between those two nodes.

In OTP it was first checked if nodes have same ID or same lat/lon and were added only if level was different.

buma avatar Jun 24 '16 16:06 buma