Skip to content

Commit

Permalink
Append feedId values to alighting stop list
Browse files Browse the repository at this point in the history
  • Loading branch information
ansoncfit committed Jan 23, 2024
1 parent 990a542 commit f71a72c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ public String[] detailsWithGtfsIds(TransitLayer transitLayer){
routeIds.add(transitLayer.routeString(routes.get(i), false));
boardStopIds.add(transitLayer.stopString(stopSequence.boardStops.get(i), false));
alightStopIds.add(transitLayer.stopString(stopSequence.alightStops.get(i), false));
feedIds.add(transitLayer.feedFromStop(stopSequence.boardStops.get(i)));
rideTimes.add(String.format("%.1f", stopSequence.rideTimesSeconds.get(i) / 60f));
}
alightStopIds.add("|");
for (int i = 0; i < routes.size(); i++) {
alightStopIds.add(transitLayer.feedFromStop(stopSequence.boardStops.get(i)));
}
String accessTime = stopSequence.access == null ? null : String.format("%.1f", stopSequence.access.time / 60f);
String egressTime = stopSequence.egress == null ? null : String.format("%.1f", stopSequence.egress.time / 60f);
return new String[]{
Expand Down

0 comments on commit f71a72c

Please sign in to comment.