org.opentripplanner.graph_builder.issues.VertexShapeError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.graph_builder.issues;
import org.opentripplanner.graph_builder.DataImportIssue;
import org.opentripplanner.routing.graph.Edge;
public class VertexShapeError implements DataImportIssue {
public static final String FMT = "Transit edge %s has shape geometry which is far from its " +
"start/end vertices. This could be caused by bad shape geometry, or by incorrect " +
"use of defaultAgencyId.";
final Edge edge;
public VertexShapeError(Edge edge){
this.edge = edge;
}
@Override
public String getMessage() {
return String.format(FMT, edge);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy