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

Cannot set timepoint flag to approximate (0) #46

Closed
mattwigway opened this issue Feb 5, 2015 · 1 comment
Closed

Cannot set timepoint flag to approximate (0) #46

mattwigway opened this issue Feb 5, 2015 · 1 comment
Assignees

Comments

@mattwigway
Copy link
Contributor

In StopTime, it is not possible to set the timepoint flag for a stop time to 0 (approximate). If you call StopTime.setTimepoint(0), and then export the feed, 0 is seen as the default value for that field and the field is left empty. But zero does not mean the same as an empty field:

empty - Times are considered exact.
0 - Times are considered approximate.
1 - Times are considered exact.
mattwigway added a commit to conveyal/gtfs-editor that referenced this issue Feb 5, 2015
@bdferris bdferris self-assigned this Feb 5, 2015
bdferris added a commit to bdferris/onebusaway-gtfs-modules that referenced this issue Feb 8, 2015
Update timepoint support in StopTime such that 0 is no longer the default value.
@bdferris
Copy link
Member

bdferris commented Feb 8, 2015

I've updated the module to better support timepoint semantics. Do you want to try a SNAPSHOT build of onebusaway-gtfs to verify the behavior matches what you expect?

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

No branches or pull requests

2 participants