We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af77ac commit eb240ffCopy full SHA for eb240ff
application/src/main/java/org/opentripplanner/routing/linking/VertexLinker.java
@@ -656,6 +656,9 @@ private boolean addAreaVertex(
656
)
657
.findFirst();
658
if (!nearest.isPresent()) {
659
+ /* This can happen when all (probably the single one) visibility points are very close
660
+ to the linked vertex. Such situatin can arise in boarding location linking which skips
661
+ the snapping logic of normal linking and calls addPermanentAreaVertex directly */
662
nearest = areaGroup.visibilityVertices().stream().findFirst();
663
}
664
if (nearest.isPresent()) {
0 commit comments