{"action":"created","issue":{"url":"https://api.github.com/repos/google/transit/issues/117","repository_url":"https://api.github.com/repos/google/transit","labels_url":"https://api.github.com/repos/google/transit/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/google/transit/issues/117/comments","events_url":"https://api.github.com/repos/google/transit/issues/117/events","html_url":"https://github.com/google/transit/issues/117","id":378860943,"node_id":"MDU6SXNzdWUzNzg4NjA5NDM=","number":117,"title":"GTFS-BoardingRestrictions","user":{"login":"LeoFrachet","id":3440724,"node_id":"MDQ6VXNlcjM0NDA3MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3440724?v=4","gravatar_id":"","url":"https://api.github.com/users/LeoFrachet","html_url":"https://github.com/LeoFrachet","followers_url":"https://api.github.com/users/LeoFrachet/followers","following_url":"https://api.github.com/users/LeoFrachet/following{/other_user}","gists_url":"https://api.github.com/users/LeoFrachet/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoFrachet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoFrachet/subscriptions","organizations_url":"https://api.github.com/users/LeoFrachet/orgs","repos_url":"https://api.github.com/users/LeoFrachet/repos","events_url":"https://api.github.com/users/LeoFrachet/events{/privacy}","received_events_url":"https://api.github.com/users/LeoFrachet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":33,"created_at":"2018-11-08T18:28:25Z","updated_at":"2019-01-03T11:05:53Z","closed_at":null,"author_association":"COLLABORATOR","body":"Hi everybody!\r\n\r\nMobilityData received the request to improve the representation of the boarding & alighting restrictions in GTFS.\r\n\r\n### Issue\r\nSome bus or train intercity agencies are allowed to sell tickets only for intercity trips, but not for intra-city trips. GTFS currently cannot represent such limitation.\r\n\r\nExample of trip which cannot be described using pickup_type & drop_off_type:\r\n- Washington DC: pick up allowed, drop off forbidden.\r\n- New York City Downtown: pickup allowed, drop off allowed.\r\n- New York City Uptown: pickup allowed, drop off allowed **if has boarded in DC**.\r\n- Boston: pickup forbidden, drop off allowed. \r\n\r\n### Proposal\r\nThe proposal is to normalize an existing practice: the `stop_time_limitations.txt` extension defined by Bileto (@jspetrak). Here is the proposal: [bit.ly/gtfs-boarding-restrictions](http://bit.ly/gtfs-boarding-restrictions).\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/google/transit/issues/comments/451113325","html_url":"https://github.com/google/transit/issues/117#issuecomment-451113325","issue_url":"https://api.github.com/repos/google/transit/issues/117","id":451113325,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTExMzMyNQ==","user":{"login":"abyrd","id":112871,"node_id":"MDQ6VXNlcjExMjg3MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/112871?v=4","gravatar_id":"","url":"https://api.github.com/users/abyrd","html_url":"https://github.com/abyrd","followers_url":"https://api.github.com/users/abyrd/followers","following_url":"https://api.github.com/users/abyrd/following{/other_user}","gists_url":"https://api.github.com/users/abyrd/gists{/gist_id}","starred_url":"https://api.github.com/users/abyrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abyrd/subscriptions","organizations_url":"https://api.github.com/users/abyrd/orgs","repos_url":"https://api.github.com/users/abyrd/repos","events_url":"https://api.github.com/users/abyrd/events{/privacy}","received_events_url":"https://api.github.com/users/abyrd/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T11:05:53Z","updated_at":"2019-01-03T11:05:53Z","author_association":"NONE","body":"@LeoFrachet in principle OTP could support this as a consumer. However the implementation is non-trivial because OTP (like Raptor and some other algorithms) relies on grouping trips into JourneyPatterns with identical sequences of stops, so (as discussed above) we'll need a demonstrably correct way to expand trips with restrictions into a reasonably efficient set of patterns. The GTFS model code in OneBusAway and OTP itself will also need to be updated to include the new tables/fields.\r\n\r\nSomeone would need to agree to write and maintain this code. If any organization that can allocate development resources to OTP needs this feature and can submit a working implementation we would certainly consider it for inclusion."}}
{"actor":{"display_login":"abyrd"}}