Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Frequency type 0 trips must not have delay values #335

Open
barbeau opened this issue Sep 11, 2018 · 1 comment
Open

Frequency type 0 trips must not have delay values #335

barbeau opened this issue Sep 11, 2018 · 1 comment
Labels
frequency-type-0 Related to GTFS trips defined in frequencies.txt with exact_times=0 or empty new rule your-first-pr Issues that are a good place to start contributing to the project
Milestone

Comments

@barbeau
Copy link
Member

barbeau commented Sep 11, 2018

Summary:

New rule - If a frequency type 0 trip (a trip defined in frequencies.txt with exact_times=0 or empty) TripUpdate has an arrival or departure delay value, this is an error. Arrival and departure times within stop_time_updates for these trips must only have a time value. This is because by definition frequency type 0 trips do not have a schedule, and therefore they can't be "delayed".

cc @scrudden

Steps to reproduce:

Run a feed for a trip defined in frequencies.txt with exact_times=0 or empty that contains an arrival or departure delay in a TripUpdate through the validator

Expected behavior:

Frequency type 0 trips with delay values should be flagged as an error

Observed behavior:

Frequency type 0 trips with delay values are not flagged as an error.

Platform:

N/A

@barbeau barbeau added new rule frequency-type-0 Related to GTFS trips defined in frequencies.txt with exact_times=0 or empty labels Sep 11, 2018
@barbeau barbeau added this to the v1.1 milestone Sep 11, 2018
@scrudden
Copy link

Have started working on this on this branch.

@barbeau barbeau added the your-first-pr Issues that are a good place to start contributing to the project label Feb 17, 2020
@barbeau barbeau changed the title Frequency type 0 trips should not have delay values Frequency type 0 trips must not have delay values Dec 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frequency-type-0 Related to GTFS trips defined in frequencies.txt with exact_times=0 or empty new rule your-first-pr Issues that are a good place to start contributing to the project
Projects
None yet
Development

No branches or pull requests

2 participants