org.opentripplanner.graph_builder.issues.ElevationPropagationLimit 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.Vertex;
public class ElevationPropagationLimit implements DataImportIssue {
private static final String FMT = "While propagating elevations, hit 2km distance limit at %s ";
final Vertex vertex;
public ElevationPropagationLimit(Vertex vertex) {
this.vertex = vertex;
}
@Override
public String getMessage() {
return String.format(FMT, vertex);
}
@Override
public Vertex getReferencedVertex() {
return this.vertex;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy