{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapping/issues/125","labels_url":"https://api.github.com/repos/mapbox/mapping/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapping/issues/125/comments","events_url":"https://api.github.com/repos/mapbox/mapping/issues/125/events","html_url":"https://github.com/mapbox/mapping/issues/125","id":110723758,"number":125,"title":"Detect sidewalks and crossings that aren't tagged as such","user":{"login":"lxbarth","id":98233,"avatar_url":"https://avatars.githubusercontent.com/u/98233?v=3","gravatar_id":"","url":"https://api.github.com/users/lxbarth","html_url":"https://github.com/lxbarth","followers_url":"https://api.github.com/users/lxbarth/followers","following_url":"https://api.github.com/users/lxbarth/following{/other_user}","gists_url":"https://api.github.com/users/lxbarth/gists{/gist_id}","starred_url":"https://api.github.com/users/lxbarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxbarth/subscriptions","organizations_url":"https://api.github.com/users/lxbarth/orgs","repos_url":"https://api.github.com/users/lxbarth/repos","events_url":"https://api.github.com/users/lxbarth/events{/privacy}","received_events_url":"https://api.github.com/users/lxbarth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tcql","id":348805,"avatar_url":"https://avatars.githubusercontent.com/u/348805?v=3","gravatar_id":"","url":"https://api.github.com/users/tcql","html_url":"https://github.com/tcql","followers_url":"https://api.github.com/users/tcql/followers","following_url":"https://api.github.com/users/tcql/following{/other_user}","gists_url":"https://api.github.com/users/tcql/gists{/gist_id}","starred_url":"https://api.github.com/users/tcql/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcql/subscriptions","organizations_url":"https://api.github.com/users/tcql/orgs","repos_url":"https://api.github.com/users/tcql/repos","events_url":"https://api.github.com/users/tcql/events{/privacy}","received_events_url":"https://api.github.com/users/tcql/received_events","type":"User","site_admin":false},"milestone":null,"comments":31,"created_at":"2015-10-09T19:38:55Z","updated_at":"2015-11-17T10:59:05Z","closed_at":null,"body":"We need to identify all `highway=footway` that are sidewalks or crosswalks but **not* tagged accordingly with the sub tags `footway=sidewalk` or `footway=crossing`. This is a non-trivial task as there are many valid footways that are tagged `highway=footway` in OpenStreetMap - for instance a footway through a park.\r\n\r\n## Example\r\n\r\nLook at this example (click for map): \r\n\r\n[![](https://www.evernote.com/shard/s210/sh/bcea396f-a3aa-49d0-b004-c10dc35a3ff6/b13e2ecbe2a86a2a/res/86ee0141-2f8e-4ccb-b4fe-96019e5ce714/skitch.png?resizeSmall&width=832)](http://lxbarth.com/compare/swipe/?nicki.osdu0udi&osm#18/38.89993/-437.01607)\r\n\r\nThis inconsistent tagging leads to issues on maps where we want to hide sidewalks (we always do, because sidewalks are horribly incomplete):\r\n\r\n[![](https://s3.amazonaws.com/f.cl.ly/items/3K250n2H3U3D3d1l3s11/Screen%20Shot%202015-10-09%20at%2012.22.07%20PM.png)](http://lxbarth.com/compare/swipe/?nicki.osdu0udi&osm#18/38.89993/-437.01607)\r\n\r\n# Analysis\r\n\r\nHere's a sketch for an analysis:\r\n\r\nUse Tile Reduce to look for\r\n\r\n- parallel (within buffer) `highway=footway` without a `footway=sidewalk` or `footway=crossing`\r\n- perpendicular (within buffer) `highway=footway` without a `footway=crossing` or `footway=sidewalk`\r\n\r\nFirst result should be a map, can be of a small area.\r\n\r\ncc @morganherlocker @tcql @planemad @mikelmaron \r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapping/issues/comments/157336898","html_url":"https://github.com/mapbox/mapping/issues/125#issuecomment-157336898","issue_url":"https://api.github.com/repos/mapbox/mapping/issues/125","id":157336898,"user":{"login":"jinalfoflia","id":4470913,"avatar_url":"https://avatars.githubusercontent.com/u/4470913?v=3","gravatar_id":"","url":"https://api.github.com/users/jinalfoflia","html_url":"https://github.com/jinalfoflia","followers_url":"https://api.github.com/users/jinalfoflia/followers","following_url":"https://api.github.com/users/jinalfoflia/following{/other_user}","gists_url":"https://api.github.com/users/jinalfoflia/gists{/gist_id}","starred_url":"https://api.github.com/users/jinalfoflia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinalfoflia/subscriptions","organizations_url":"https://api.github.com/users/jinalfoflia/orgs","repos_url":"https://api.github.com/users/jinalfoflia/repos","events_url":"https://api.github.com/users/jinalfoflia/events{/privacy}","received_events_url":"https://api.github.com/users/jinalfoflia/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T10:59:04Z","updated_at":"2015-11-17T10:59:04Z","body":"> these shouldn't be getting picked up anyway; the analysis only looks at `highway=footway`\r\n\r\n@tcql these get picked up when they are combined with `highway=footway` tag.\r\nFor example [here](https://www.openstreetmap.org/way/264037112/history) where `bicycle=yes` and `highway=footway` tags are together.\r\n\r\n![sidewalk-cycle](https://cloud.githubusercontent.com/assets/4470913/11209040/b01b8f28-8d44-11e5-9589-ef092fcf12eb.gif)\r\n\r\nIn [cases](https://github.com/mapbox/map-feedback/issues/12495), where people cycle in these lanes, addition of `footway=sidewalk` tag will hide the lanes from the style. Therefore for now, we are not adding sidewalk tag for footways like these.\r\n\r\n@nickidlugash referring to this [ticket](https://github.com/mapbox/tm2-custom-styles/issues/202), in Strava style, hiding sidewalks will lead to discontinuity in footways where the footway is also having `bicycle=yes` as a sub-tag. Ideally the footways like these should be rendered in the Strava style even though it's having the sidewalk tag along with it.\r\n\r\n\r\n/cc @srividyacb @maning "}}