{"action":"created","issue":{"url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/1914","labels_url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/1914/labels{/name}","comments_url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/1914/comments","events_url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/1914/events","html_url":"https://github.com/opentripplanner/OpenTripPlanner/issues/1914","id":73916776,"number":1914,"title":"Bollards are not accounted for","user":{"login":"abyrd","id":112871,"avatar_url":"https://avatars.githubusercontent.com/u/112871?v=3","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},"labels":[{"url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/labels/improvement","name":"improvement","color":"d7e102"}],"state":"open","locked":false,"assignee":{"login":"buma","id":1055967,"avatar_url":"https://avatars.githubusercontent.com/u/1055967?v=3","gravatar_id":"","url":"https://api.github.com/users/buma","html_url":"https://github.com/buma","followers_url":"https://api.github.com/users/buma/followers","following_url":"https://api.github.com/users/buma/following{/other_user}","gists_url":"https://api.github.com/users/buma/gists{/gist_id}","starred_url":"https://api.github.com/users/buma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buma/subscriptions","organizations_url":"https://api.github.com/users/buma/orgs","repos_url":"https://api.github.com/users/buma/repos","events_url":"https://api.github.com/users/buma/events{/privacy}","received_events_url":"https://api.github.com/users/buma/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-05-07T09:32:39Z","updated_at":"2015-05-11T18:18:59Z","closed_at":null,"body":"A bollard is a \"solid (usually concrete or metal) pillar or pillars in the middle of the road to prevent passage by some traffic\". If the road is blocked on both ends, then the road segment might be tagged not to allow car access at all. But sometimes a bollard exists only on one end of the street, allowing car traffic but only for local access.\r\n \r\nhttp://wiki.openstreetmap.org/wiki/Tag:barrier%3Dbollard\r\n\r\nOne possibility for implementation is to convert the bollard node into a tiny edge during loading. Bollards have tags like barrier=bollard bicycle=yes foot=yes which would block or allow the right modes if they were on an edge."},"comment":{"url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/comments/101004734","html_url":"https://github.com/opentripplanner/OpenTripPlanner/issues/1914#issuecomment-101004734","issue_url":"https://api.github.com/repos/opentripplanner/OpenTripPlanner/issues/1914","id":101004734,"user":{"login":"buma","id":1055967,"avatar_url":"https://avatars.githubusercontent.com/u/1055967?v=3","gravatar_id":"","url":"https://api.github.com/users/buma","html_url":"https://github.com/buma","followers_url":"https://api.github.com/users/buma/followers","following_url":"https://api.github.com/users/buma/following{/other_user}","gists_url":"https://api.github.com/users/buma/gists{/gist_id}","starred_url":"https://api.github.com/users/buma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buma/subscriptions","organizations_url":"https://api.github.com/users/buma/orgs","repos_url":"https://api.github.com/users/buma/repos","events_url":"https://api.github.com/users/buma/events{/privacy}","received_events_url":"https://api.github.com/users/buma/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T18:18:59Z","updated_at":"2015-05-11T18:18:59Z","body":"I added preliminary bollard support.\r\n\r\nIt was easier then expected.\r\n\r\nCurrently roads are split if barrier=bollard tag is on node.\r\nAnd this node becomes BarrierVertex.\r\n\r\nDuring streetTraversal it is checked if start or end vertex are\r\nbollards. If they are CAR isn't allowed to drive on this edge.\r\nTODO: more testing. And bollard acces support. (By default it allows\r\nwalking and bicycle)\r\n\r\nI need to test if it works in all cases. Other people testing is welcome."}}