Skip to content

Commit

Permalink
Ignore frequency rows with zero-value headways for frequencies_stop_t…
Browse files Browse the repository at this point in the history
…imes (#3263)
  • Loading branch information
SorenSpicknall authored Feb 2, 2024
1 parent 368a2e3 commit b3bb4f1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ int_gtfs_schedule__frequencies_stop_times AS (
WITH OFFSET AS iteration_num
-- if end time_sec = headway_secs * [some integer] + start_time_sec, then we're not actually supposed to have a trip that starts at end_time_sec
WHERE start_time_sec + iteration_num * headway_secs < end_time_sec
AND headway_secs > 0
)

SELECT * FROM int_gtfs_schedule__frequencies_stop_times

0 comments on commit b3bb4f1

Please sign in to comment.