-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Frequency-based trips don't appear in stoptimesForPatterns query #6422
Comments
For comparison, OneBusAway returns the very next instance of the frequency-based trip, but not additional instances. When it returns a frequency-based trip it includes a value like this:
Presumably so that the consumer can a) identify them properly, and b) extrapolate future instances easily if they choose. |
In a gitter.im thread, @miklcct responded:
|
Same issue +1 |
Result only shows 1 |
Is it an exact times frequency trip? If so it should extrapolate, if not it shouldn't. |
Expected behavior
Trips defined by
frequencies.txt
entries will appear in both routing results and GTFS query results such as stoptimesForPatternsObserved behavior
Frequency-based trips appear in routing results but not in stoptimesForPatterns
Version of OTP used (exact commit hash or JAR name)
otp-2.4.0-shaded.jar
Data sets in use (links to GTFS and OSM PBF files)
GTFS: http://www.ridepatco.org/developers/PortAuthorityTransitCorporation.zip
PBF: https://download.geofabrik.de/north-america/us-northeast-latest.osm.pbf (though only the Philadelphia metro area is needed)
Command line used to start OTP
java -XX:InitialRAMPercentage=90 -XX:MaxRAMPercentage=90 -XX:+AlwaysPreTouch -jar otp-2.4.0-shaded.jar --load /var/otp
Router config and graph build config JSON
otp-config.json
build-config.json
router-config.json
Steps to reproduce the problem
Run this query in the GraphiQL UI:
You'll get one item for 2:18 PM local time. There should also be a frequency-based item for 1:06 PM local time (and 1:21, 1:36, etc.). GTFS service ID is 87. Trip ID is 10202. Relevant portion of the
frequencies.txt
file looks like this:The text was updated successfully, but these errors were encountered: