diff --git a/src/main/java/com/conveyal/gtfs/validator/SpeedTripValidator.java b/src/main/java/com/conveyal/gtfs/validator/SpeedTripValidator.java index f2e1c9d3e..3ecf438c9 100644 --- a/src/main/java/com/conveyal/gtfs/validator/SpeedTripValidator.java +++ b/src/main/java/com/conveyal/gtfs/validator/SpeedTripValidator.java @@ -87,7 +87,9 @@ private boolean checkDistanceAndTime (double distanceMeters, double travelTimeSe if (travelTimeSeconds < 0) { registerError(stopTime, TRAVEL_TIME_NEGATIVE, travelTimeSeconds); good = false; - } else if (travelTimeSeconds == 0) { + // Some bus stops are very close, and timetable can be rounded to a minute + // 300m is the distance traveled at 18 km/h in one minute + } else if (travelTimeSeconds == 0 && distanceMeters > 300) { registerError(stopTime, TRAVEL_TIME_ZERO); good = false; }