Skip to content
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

Fix #152: Make stop id optional in stop times #153

Conversation

mmaranda-cs
Copy link
Contributor

Summary:
Made stop_id optional when reading in stop_times.txt.

Added stop_times validator to StopTime.java

Added call to validator (after GTFS read is complete) to GtfsReader.java

Added until test to verify this behaves as expected.

Expected behavior:

GTFS Modules will behave as expected and still throw an error after reading in the file if a stop_id is null in StopTimes, UNLESS a start_service_area or end_service_area is provided. This is to improve compliance with GTFS Flex v1.

Please make sure these boxes are checked before submitting your pull request - thanks!

@Heidebritta and @sheldonabrown please let me know if you have questions or concerns about this approach.

mmaranda-cs and others added 5 commits December 2, 2019 15:22
Getting OBA back to my local OBA
…ator when we do this to ensure that there is a start or end service area as defined in the GTFS Flex 1 spec.
…o make sure we don't have stop_times without stop_ids unless they have a start or end service_area
* RTDII-194 throw exception for bad stoptime

* ignor iml files

* address PR #6 and PR #7 comments

* add new test gtfs data

* remove iml files

* RTDII fix PR#8 comments

Co-authored-by: Ray Cha <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Jul 9, 2020

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants