
org.opentripplanner.openstreetmap.issues.FloorNumberUnknownAssumedGroundLevel 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
The newest version!
package org.opentripplanner.openstreetmap.issues;
import org.opentripplanner.graph_builder.issue.api.DataImportIssue;
import org.opentripplanner.openstreetmap.model.OSMWithTags;
public record FloorNumberUnknownAssumedGroundLevel(String layer, OSMWithTags entity)
implements DataImportIssue {
private static final String FMT =
"%s : could not determine floor number for layer %s, assumed to be ground-level.";
private static final String HTMLFMT =
"'%s' : could not determine floor number for layer %s, assumed to be ground-level.";
@Override
public String getMessage() {
return String.format(FMT, entity.getId(), layer);
}
@Override
public String getHTMLMessage() {
return String.format(HTMLFMT, entity.url(), entity.getId(), layer);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy