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

Increase W004 vehicle speed is unrealistic threshold #366

Open
barbeau opened this issue Feb 14, 2020 · 2 comments
Open

Increase W004 vehicle speed is unrealistic threshold #366

barbeau opened this issue Feb 14, 2020 · 2 comments
Labels
enhancement your-first-pr Issues that are a good place to start contributing to the project

Comments

@barbeau
Copy link
Member

barbeau commented Feb 14, 2020

Summary:

We currently have the W004 threshold set at 26 meters per second (about 60 miles per hour):
https://github.com/CUTR-at-USF/gtfs-realtime-validator/blob/master/RULES.md#W004

We should bump this to around 80 miles per hour to avoid catching buses on interstates serving more rural areas.

Steps to reproduce:

Run validator on feed with buses on interstate

Expected behavior:

Don't flag speeds unless they are very unreasonable

Observed behavior:

Speeds are flagged too often

Platform:

N/A

@derhuerst
Copy link
Contributor

We should bump this to around 80 miles per hour to avoid catching buses on interstates serving more rural areas.

There are many trains that regularly reach 120 miles per hour, some even 200. Can we pick a rather conservative threshold here? instant (or almost instant) stop-to-stop travel would still be recognised.

@isabelle-dr
Copy link

In the Schedule Validator, speed limits depend on the route type (you can see the code here). Would it make sense to have something similar here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement your-first-pr Issues that are a good place to start contributing to the project
Projects
None yet
Development

No branches or pull requests

3 participants