org.opentripplanner.graph_builder.issues.BogusShapeDistanceTraveled 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.model.StopTime;
public class BogusShapeDistanceTraveled implements DataImportIssue {
public static final String FMT =
"The shape_dist_traveled field for stoptime %s is wrong -- " +
"either it is the same as the value for the previous stoptime, or it is greater " +
"than the max shape_dist_traveled for the shape in shapes.txt";
final StopTime st;
public BogusShapeDistanceTraveled(StopTime st) {
this.st = st;
}
@Override
public String getMessage() {
return String.format(FMT, st);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy