diff --git a/onebusaway-api-webapp/src/main/java/org/onebusaway/api/actions/api/gtfs_realtime/TripUpdatesForAgencyAction.java b/onebusaway-api-webapp/src/main/java/org/onebusaway/api/actions/api/gtfs_realtime/TripUpdatesForAgencyAction.java index 9c30cbae2f..bb86c14fe5 100644 --- a/onebusaway-api-webapp/src/main/java/org/onebusaway/api/actions/api/gtfs_realtime/TripUpdatesForAgencyAction.java +++ b/onebusaway-api-webapp/src/main/java/org/onebusaway/api/actions/api/gtfs_realtime/TripUpdatesForAgencyAction.java @@ -76,6 +76,7 @@ protected void fillFeedMessage(FeedMessage.Builder feed, String agencyId, * to indicate that */ stopTimeUpdate.setStopId(normalizeId(stopId.toString())); + stopTimeUpdate.setStopSequence(timepointPrediction.getStopSequence()); TripUpdate.StopTimeEvent.Builder arrival = stopTimeUpdate.getArrivalBuilder(); if (timepointPrediction.getTimepointPredictedArrivalTime() != -1) { arrival.setTime(timepointPrediction.getTimepointPredictedArrivalTime()/1000L);