gtfstidy icon indicating copy to clipboard operation
gtfstidy copied to clipboard

Feature Request: Remove/Replace arrival/departure times in stop_times

Open mencargo opened this issue 3 years ago • 0 comments

The current specification allows arrival and departure times to be empty, as long as the trip has the first and last stop times specified, and timepoint could specify if times are real or calculated: https://developers.google.com/transit/gtfs/reference#stop_timestxt

It would be nice to:

Remove all arrival/departure times where timepoint = 0 and are not first/last stops, and delete timepoint value. (as part of minimizing feed, maybe in the -T, --minimize-stoptimes option)

Remove all arrival/departure times not in first/last stops and without explicit timepoint = 1, also deleting possible timepoint value. (maybe in a more aggressive option)

Recalculate all arrival/departure times not in first/last stops and without explicit timepoint = 1, specifying timepoint = 0. (maybe remeasure stop_times option)

mencargo avatar Jun 29 '22 19:06 mencargo