You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argh, that's a tough one that goes all the way down to graph construction.
I somehow manage to create a graph which has an edge from A to B, and an edge with the same number from B to C. Reproducibly. In GraphHopperStorage.
Apparently, during graph constructing, we cannot add transit after having removed disconnected network components.
This should be allowed or did you mean that adding transits should not be allowed after this step? If that is the case you could call graphHopperStorage.freeze() to ensure this.
Activity
michaz commentedon Mar 16, 2018
Argh, that's a tough one that goes all the way down to graph construction.
I somehow manage to create a graph which has an edge from A to B, and an edge with the same number from B to C. Reproducibly. In
GraphHopperStorage.Tracing this now.
Remove disconnected subnetworks _after_ adding transit. #1311
michaz commentedon Mar 17, 2018
Apparently, during graph constructing, we cannot add transit after having removed disconnected network components.
I'm doing that as the last step now instead, which is probably OK in most cases.
Closing this, as the NPE is definitely gone, and will keep an eye on whether the change matters in unexpected ways.
karussell commentedon Mar 18, 2018
Thanks!
This should be allowed or did you mean that adding transits should not be allowed after this step? If that is the case you could call
graphHopperStorage.freeze()to ensure this.michaz commentedon Mar 18, 2018
No, this: #1313
Revert "Remove disconnected subnetworks _after_ adding transit." sinc…
Revert "Remove disconnected subnetworks _after_ adding transit." sinc…
Revert "Remove disconnected subnetworks _after_ adding transit." sinc…