{"action":"created","issue":{"url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/1871","labels_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/1871/labels{/name}","comments_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/1871/comments","events_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/1871/events","html_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/1871","id":108207061,"number":1871,"title":"rework road shields","user":{"login":"nebulon42","id":3531092,"avatar_url":"https://avatars.githubusercontent.com/u/3531092?v=3","gravatar_id":"","url":"https://api.github.com/users/nebulon42","html_url":"https://github.com/nebulon42","followers_url":"https://api.github.com/users/nebulon42/followers","following_url":"https://api.github.com/users/nebulon42/following{/other_user}","gists_url":"https://api.github.com/users/nebulon42/gists{/gist_id}","starred_url":"https://api.github.com/users/nebulon42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nebulon42/subscriptions","organizations_url":"https://api.github.com/users/nebulon42/orgs","repos_url":"https://api.github.com/users/nebulon42/repos","events_url":"https://api.github.com/users/nebulon42/events{/privacy}","received_events_url":"https://api.github.com/users/nebulon42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2015-09-24T20:22:02Z","updated_at":"2015-10-10T14:46:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/1871","html_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/1871","diff_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/1871.diff","patch_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/1871.patch"},"body":"Tries to solve #1813.\r\n\r\nChanges the graphical representation of road shields by removing the white border, adding a slightly darker outline, reducing border radius, decreasing font size, and adding a text halo for better readability of the reference.\r\n\r\nColours are corresponding to highway fills and casings. The script to generate road colours is not used as I did not get why the colour components are modified in that particular way and order.\r\n\r\nIntroduces a new Python shield generation script where it is possible to specify paddings instead of widths and heights by assuming default character dimensions. The script supersedes the three shell scripts currently used for shield (re-)generation.\r\n\r\nCarto rules for shields are refactored to make use of variables for easier changes.\r\n\r\nPreview\r\n![shields2](https://cloud.githubusercontent.com/assets/3531092/10085602/636a86e8-630a-11e5-8dd0-25e2f08b8fe5.png)"},"comment":{"url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/comments/147094693","html_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/1871#issuecomment-147094693","issue_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/1871","id":147094693,"user":{"login":"nebulon42","id":3531092,"avatar_url":"https://avatars.githubusercontent.com/u/3531092?v=3","gravatar_id":"","url":"https://api.github.com/users/nebulon42","html_url":"https://github.com/nebulon42","followers_url":"https://api.github.com/users/nebulon42/followers","following_url":"https://api.github.com/users/nebulon42/following{/other_user}","gists_url":"https://api.github.com/users/nebulon42/gists{/gist_id}","starred_url":"https://api.github.com/users/nebulon42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nebulon42/subscriptions","organizations_url":"https://api.github.com/users/nebulon42/orgs","repos_url":"https://api.github.com/users/nebulon42/repos","events_url":"https://api.github.com/users/nebulon42/events{/privacy}","received_events_url":"https://api.github.com/users/nebulon42/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T14:46:02Z","updated_at":"2015-10-10T14:46:02Z","body":"On second thought I'd rather not open up a new discussion regarding residential refs here, because the other changes seem to be quite \"finished\", improvements always possible :). I'll try to work on residential refs in a follow-up PR."}}