All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.graph_builder.issues.ShapeGeometryTooFar Maven / Gradle / Ivy

The newest version!
package org.opentripplanner.graph_builder.issues;

import org.opentripplanner.graph_builder.issue.api.DataImportIssue;
import org.opentripplanner.transit.model.framework.FeedScopedId;

public record ShapeGeometryTooFar(FeedScopedId tripId, FeedScopedId shapeId)
  implements DataImportIssue {
  private static final String FMT =
    "Trip %s is too far from shape geometry %s, using straight line path instead";

  @Override
  public String getMessage() {
    return String.format(FMT, tripId, shapeId);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy