New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fast Travel Between Far Stops not using stops.stop_timezone
#1110
Comments
Hi @e-lo! Thanks for flagging this! As far as I understand
Also, in the
There must be an ERROR telling about wrong time order. Hi @isabelle-dr, It looks like there's a confusing usage of should/must/may keywords in the spec. Do you know if there's plan to format them according to RFC 2119? |
🤔 🤔 🤔 Hmmm... I think this conflicts with the descriptions of times in
|
Regardless, the spec needs to clarify in Amtrak has implemented it as local time.
@Cristhian-HA should there be an issue in |
Note that this also conflicts with the general definition of a GTFS Time value, which is defined as time since "noon - 12h": (https://gist.github.com/derhuerst/574edc94981a21ef0ce90713f1cff7f6. |
Hello all, I wanted to reach out here regarding next steps -- do we believe this is something that should be amended on Google's/MobilityData's end? If not, what do we think is the best advice for Amtrak to no longer see these errors? We will also need to update documentation to make it clearer. Thanks! |
Hello, thanks for flagging this @e-lo!
I could not reproduce the issue. I ran the validator on the dataset given in this PR, I got 12
UPDATE 29 Apr: this is because the dataset was modified
2.1. The use of must/should and what the severity of this problem should be
This has been done last year (PR#227). 2.2. The interpretation of the value in |
That is b/c in order to have their GTFS file validate in Google, etc (in the validator) they had to remove the whole Southwest Chief line in their published GTFS. |
Submitted this issue: google/transit#322 |
Thank you! 🙏 |
For severity there are two types of notices
RE: must/should.
We have a limited use of it, not sure if we should use it more or less though. It could be interesting to know how other consumers use it. |
Thanks for the replies, all!
From the Proposed Solution <google/transit#322>,
it is clear now that Google uses the agency timezone -- therefore from
Google's end we agree that Elizabeth's proposal to better clarify the
definitions is the best next step (updating on Google's end would require
more time and discussion, and we would need to leave partners like Amtrak
hanging until it is done).
Are there any concerns in updating the definition? If not, I'm actually not
familiar with the process here -- @elizabeth Sall ***@***.***> are
you able to make initiate that change?
Thanks!
…On Wed, May 4, 2022 at 5:16 AM asvechnikov2 ***@***.***> wrote:
This has been done last year (google/transit#277
<google/transit#277>).
...But, the severity of this rule isn't based on spec use of must or
should, because there is no mention of speed in the spec or best practices
(right?).
There is a discrepancy between the severity on this repo (warning) and the
severity at Google (critical error).
@asvechnikov2 <https://github.com/asvechnikov2> is this more of a Google
specific criteria or it should be added in the spec with a "must" statement?
For severity there are two types of notices
- Vehicle travels fast - just a warning, won't affect results too much.
- Vehicle travels fast, but also across big distance (usually many
km). This most likely will break (or affect in some significant way)
routing, if there's a train that travels from one side of a city (or even
worse country) to another in just couple of minutes or seconds then this
train will dominate all routing results. In some cases it would make sense
instead of taking 4 hours train to wait 3 hours 58 minutes and take 2 min
train.
RE: must/should. should assumes there are some other options available,
however, there are none. Everyone must use agency_timezone otherwise
producers/consumers will refer to different times and show users
wrong/misleading information.
2.2. The interpretation of the value in stops.stops_timezone
Not my area of expertise byt yes that's confusing. If stops.stop_timezone
isn't there to be used to get times in trip planning, why is it there then?
🙈
We have a limited use of it, not sure if we should use it more or less
though. It could be interesting to know how other consumers use it.
—
Reply to this email directly, view it on GitHub
<#1110 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYSI6V2KJ65UJQCQYVS4GMDVII57PANCNFSM5PSMNSCA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
* • **Kevin Perkins*
* • *Product Solutions Engineer
*• * Google, Inc.
* •* ***@***.***
|
It's now clarified in the spec that Based on the discussion here, it looks like the spec clarification was the only outstanding step and there are no further changes to be made to the validator. @e-lo I'll leave this issue open for a few days before closing in case there's anything else you or others would like to raise related to this. |
Bug report
Describe the bug
Fast Travel Between Far Stops
warning incorrectly given where stops change time zones because the fieldstops.stop_timezone
is not taken into account.This is occurring roughly here:
gtfs-validator/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/StopTimeTravelSpeedValidator.java
Line 164 in 92c3367
For example: Amtrak's Southwest Chief Route travels between Kingman AZ (KNG) and Needles CA (NDL) where the trip 3:
The
stops.stop_timezones
are correctly set, but are not being accounted for in the triggering of this warning, causing the feed to be rejected by Google's validation process.How we reproduce the bug
Steps to reproduce the behaviour:
Expected behaviour
Should not trigger a
Fast Travel Between Far Stops
warning between KNG and NDL (among others)Observed behaviour
Triggers a
Fast Travel Between Far Stops
warning between KNG and NDL (among others)Screenshots:
The text was updated successfully, but these errors were encountered: