{"action":"created","comment":{"url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/comments/26333974","id":26333974,"diff_hunk":"@@ -420,7 +420,10 @@ Layer:\n                 CASE WHEN service IN ('parking_aisle', 'drive-through', 'driveway') THEN 'INT-minor'::text\n                   ELSE 'INT-normal'::text\n                 END AS service,\n-                CASE WHEN oneway IN ('yes', '-1') THEN oneway ELSE NULL END AS oneway,\n+                CASE WHEN oneway IN ('yes', '-1') THEN oneway\n+                  WHEN (highway IN ('motorway', 'motorway_link') OR junction IN ('roundabout')) AND (oneway <> 'no' OR oneway IS NULL) THEN 'yes'\n+                  ELSE NULL\n+                  END AS oneway,","path":"project.yaml","position":8,"original_position":8,"commit_id":"bd811762b143abad26d29df4f14d0775d1f3803c","original_commit_id":"bd811762b143abad26d29df4f14d0775d1f3803c","user":{"login":"pnorman","id":1190866,"avatar_url":"https://avatars.githubusercontent.com/u/1190866?v=3","gravatar_id":"","url":"https://api.github.com/users/pnorman","html_url":"https://github.com/pnorman","followers_url":"https://api.github.com/users/pnorman/followers","following_url":"https://api.github.com/users/pnorman/following{/other_user}","gists_url":"https://api.github.com/users/pnorman/gists{/gist_id}","starred_url":"https://api.github.com/users/pnorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnorman/subscriptions","organizations_url":"https://api.github.com/users/pnorman/orgs","repos_url":"https://api.github.com/users/pnorman/repos","events_url":"https://api.github.com/users/pnorman/events{/privacy}","received_events_url":"https://api.github.com/users/pnorman/received_events","type":"User","site_admin":false},"body":"I'd probably do it the same as the former.","created_at":"2015-03-12T19:05:03Z","updated_at":"2015-03-12T19:05:03Z","html_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/1363#discussion_r26333974","pull_request_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/1363","_links":{"self":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/comments/26333974"},"html":{"href":"https://github.com/gravitystorm/openstreetmap-carto/pull/1363#discussion_r26333974"},"pull_request":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/1363"}}},"pull_request":{"url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/1363","id":30890859,"html_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/1363","diff_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/1363.diff","patch_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/1363.patch","issue_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/1363","number":1363,"state":"open","locked":false,"title":"Render implied oneways (roundabout, motorway, motorway_link)","user":{"login":"sommerluk","id":6830724,"avatar_url":"https://avatars.githubusercontent.com/u/6830724?v=3","gravatar_id":"","url":"https://api.github.com/users/sommerluk","html_url":"https://github.com/sommerluk","followers_url":"https://api.github.com/users/sommerluk/followers","following_url":"https://api.github.com/users/sommerluk/following{/other_user}","gists_url":"https://api.github.com/users/sommerluk/gists{/gist_id}","starred_url":"https://api.github.com/users/sommerluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sommerluk/subscriptions","organizations_url":"https://api.github.com/users/sommerluk/orgs","repos_url":"https://api.github.com/users/sommerluk/repos","events_url":"https://api.github.com/users/sommerluk/events{/privacy}","received_events_url":"https://api.github.com/users/sommerluk/received_events","type":"User","site_admin":false},"body":"Some tags imply oneway=yes. This PR renders them as if oneway=yes would be present. (Condition: There is no oneway=no present.)\r\n\r\njunction=roundabout\r\nhighway=motorway\r\nhighway=motorway_link\r\n\r\nThis resolves #467 \r\n\r\nAre there any other tags that imply oneway=yes?","created_at":"2015-03-10T20:47:43Z","updated_at":"2015-03-12T19:05:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"292e7703fd03b3c534747229a421e5585537a312","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/1363/commits","review_comments_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/1363/comments","review_comment_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/1363/comments","statuses_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/statuses/bd811762b143abad26d29df4f14d0775d1f3803c","head":{"label":"sommerluk:impliedoneway","ref":"impliedoneway","sha":"bd811762b143abad26d29df4f14d0775d1f3803c","user":{"login":"sommerluk","id":6830724,"avatar_url":"https://avatars.githubusercontent.com/u/6830724?v=3","gravatar_id":"","url":"https://api.github.com/users/sommerluk","html_url":"https://github.com/sommerluk","followers_url":"https://api.github.com/users/sommerluk/followers","following_url":"https://api.github.com/users/sommerluk/following{/other_user}","gists_url":"https://api.github.com/users/sommerluk/gists{/gist_id}","starred_url":"https://api.github.com/users/sommerluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sommerluk/subscriptions","organizations_url":"https://api.github.com/users/sommerluk/orgs","repos_url":"https://api.github.com/users/sommerluk/repos","events_url":"https://api.github.com/users/sommerluk/events{/privacy}","received_events_url":"https://api.github.com/users/sommerluk/received_events","type":"User","site_admin":false},"repo":{"id":24509228,"name":"openstreetmap-carto","full_name":"sommerluk/openstreetmap-carto","owner":{"login":"sommerluk","id":6830724,"avatar_url":"https://avatars.githubusercontent.com/u/6830724?v=3","gravatar_id":"","url":"https://api.github.com/users/sommerluk","html_url":"https://github.com/sommerluk","followers_url":"https://api.github.com/users/sommerluk/followers","following_url":"https://api.github.com/users/sommerluk/following{/other_user}","gists_url":"https://api.github.com/users/sommerluk/gists{/gist_id}","starred_url":"https://api.github.com/users/sommerluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sommerluk/subscriptions","organizations_url":"https://api.github.com/users/sommerluk/orgs","repos_url":"https://api.github.com/users/sommerluk/repos","events_url":"https://api.github.com/users/sommerluk/events{/privacy}","received_events_url":"https://api.github.com/users/sommerluk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sommerluk/openstreetmap-carto","description":"A project to re-implement the standard OpenStreetMap mapnik style, in CartoCSS","fork":true,"url":"https://api.github.com/repos/sommerluk/openstreetmap-carto","forks_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/forks","keys_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/teams","hooks_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/hooks","issue_events_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/issues/events{/number}","events_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/events","assignees_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/assignees{/user}","branches_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/branches{/branch}","tags_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/tags","blobs_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/git/refs{/sha}","trees_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/statuses/{sha}","languages_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/languages","stargazers_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/stargazers","contributors_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/contributors","subscribers_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/subscribers","subscription_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/subscription","commits_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/commits{/sha}","git_commits_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/git/commits{/sha}","comments_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/comments{/number}","issue_comment_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/issues/comments{/number}","contents_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/contents/{+path}","compare_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/merges","archive_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/downloads","issues_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/issues{/number}","pulls_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/pulls{/number}","milestones_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/milestones{/number}","notifications_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/labels{/name}","releases_url":"https://api.github.com/repos/sommerluk/openstreetmap-carto/releases{/id}","created_at":"2014-09-26T17:42:38Z","updated_at":"2015-03-09T21:40:59Z","pushed_at":"2015-03-10T20:39:43Z","git_url":"git://github.com/sommerluk/openstreetmap-carto.git","ssh_url":"git@github.com:sommerluk/openstreetmap-carto.git","clone_url":"https://github.com/sommerluk/openstreetmap-carto.git","svn_url":"https://github.com/sommerluk/openstreetmap-carto","homepage":null,"size":2857,"stargazers_count":0,"watchers_count":0,"language":"CartoCSS","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gravitystorm:master","ref":"master","sha":"ea7863db40be23a41d19047e30dac6a4b8639a33","user":{"login":"gravitystorm","id":360803,"avatar_url":"https://avatars.githubusercontent.com/u/360803?v=3","gravatar_id":"","url":"https://api.github.com/users/gravitystorm","html_url":"https://github.com/gravitystorm","followers_url":"https://api.github.com/users/gravitystorm/followers","following_url":"https://api.github.com/users/gravitystorm/following{/other_user}","gists_url":"https://api.github.com/users/gravitystorm/gists{/gist_id}","starred_url":"https://api.github.com/users/gravitystorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravitystorm/subscriptions","organizations_url":"https://api.github.com/users/gravitystorm/orgs","repos_url":"https://api.github.com/users/gravitystorm/repos","events_url":"https://api.github.com/users/gravitystorm/events{/privacy}","received_events_url":"https://api.github.com/users/gravitystorm/received_events","type":"User","site_admin":false},"repo":{"id":6707453,"name":"openstreetmap-carto","full_name":"gravitystorm/openstreetmap-carto","owner":{"login":"gravitystorm","id":360803,"avatar_url":"https://avatars.githubusercontent.com/u/360803?v=3","gravatar_id":"","url":"https://api.github.com/users/gravitystorm","html_url":"https://github.com/gravitystorm","followers_url":"https://api.github.com/users/gravitystorm/followers","following_url":"https://api.github.com/users/gravitystorm/following{/other_user}","gists_url":"https://api.github.com/users/gravitystorm/gists{/gist_id}","starred_url":"https://api.github.com/users/gravitystorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravitystorm/subscriptions","organizations_url":"https://api.github.com/users/gravitystorm/orgs","repos_url":"https://api.github.com/users/gravitystorm/repos","events_url":"https://api.github.com/users/gravitystorm/events{/privacy}","received_events_url":"https://api.github.com/users/gravitystorm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gravitystorm/openstreetmap-carto","description":"A project to re-implement the standard OpenStreetMap mapnik style, in CartoCSS","fork":false,"url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto","forks_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/forks","keys_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/teams","hooks_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/hooks","issue_events_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/events{/number}","events_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/events","assignees_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/assignees{/user}","branches_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/branches{/branch}","tags_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/tags","blobs_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/git/refs{/sha}","trees_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/statuses/{sha}","languages_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/languages","stargazers_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/stargazers","contributors_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/contributors","subscribers_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/subscribers","subscription_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/subscription","commits_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/commits{/sha}","git_commits_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/git/commits{/sha}","comments_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/comments{/number}","issue_comment_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/comments{/number}","contents_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/contents/{+path}","compare_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/merges","archive_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/downloads","issues_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues{/number}","pulls_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls{/number}","milestones_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/milestones{/number}","notifications_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/labels{/name}","releases_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/releases{/id}","created_at":"2012-11-15T16:06:16Z","updated_at":"2015-03-09T21:08:22Z","pushed_at":"2015-03-09T21:08:22Z","git_url":"git://github.com/gravitystorm/openstreetmap-carto.git","ssh_url":"git@github.com:gravitystorm/openstreetmap-carto.git","clone_url":"https://github.com/gravitystorm/openstreetmap-carto.git","svn_url":"https://github.com/gravitystorm/openstreetmap-carto","homepage":null,"size":8730,"stargazers_count":272,"watchers_count":272,"language":"CartoCSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":160,"mirror_url":null,"open_issues_count":352,"forks":160,"open_issues":352,"watchers":272,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/1363"},"html":{"href":"https://github.com/gravitystorm/openstreetmap-carto/pull/1363"},"issue":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/1363"},"comments":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/1363/comments"},"review_comments":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/1363/comments"},"review_comment":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/1363/commits"},"statuses":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/statuses/bd811762b143abad26d29df4f14d0775d1f3803c"}}}}