org.opentripplanner.graph_builder.issues.FloorNumberUnknownGuessedFromAltitude 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;
public class FloorNumberUnknownGuessedFromAltitude implements DataImportIssue {
public static final String FMT =
"Could not determine floor number for layer %s. Guessed %s (0-based) from altitude.";
final String layer;
final Integer floorNumber;
public FloorNumberUnknownGuessedFromAltitude(String layer, Integer floorNumber) {
this.layer = layer;
this.floorNumber = floorNumber;
}
@Override
public String getMessage() {
return String.format(FMT, layer, floorNumber);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy