{"action":"closed","issue":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1953","repository_url":"https://api.github.com/repos/Project-OSRM/osrm-backend","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1953/labels{/name}","comments_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1953/comments","events_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1953/events","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/1953","id":131750123,"number":1953,"title":"OSRM debugging tileserver","user":{"login":"danpat","id":1892250,"avatar_url":"https://avatars.githubusercontent.com/u/1892250?v=3","gravatar_id":"","url":"https://api.github.com/users/danpat","html_url":"https://github.com/danpat","followers_url":"https://api.github.com/users/danpat/followers","following_url":"https://api.github.com/users/danpat/following{/other_user}","gists_url":"https://api.github.com/users/danpat/gists{/gist_id}","starred_url":"https://api.github.com/users/danpat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpat/subscriptions","organizations_url":"https://api.github.com/users/danpat/orgs","repos_url":"https://api.github.com/users/danpat/repos","events_url":"https://api.github.com/users/danpat/events{/privacy}","received_events_url":"https://api.github.com/users/danpat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/labels/Feature%20Request","name":"Feature Request","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/milestones/2","html_url":"https://github.com/Project-OSRM/osrm-backend/milestones/5.0","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/milestones/2/labels","id":41286,"number":2,"title":"5.0","description":"","creator":{"login":"DennisOSRM","id":1067895,"avatar_url":"https://avatars.githubusercontent.com/u/1067895?v=3","gravatar_id":"","url":"https://api.github.com/users/DennisOSRM","html_url":"https://github.com/DennisOSRM","followers_url":"https://api.github.com/users/DennisOSRM/followers","following_url":"https://api.github.com/users/DennisOSRM/following{/other_user}","gists_url":"https://api.github.com/users/DennisOSRM/gists{/gist_id}","starred_url":"https://api.github.com/users/DennisOSRM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DennisOSRM/subscriptions","organizations_url":"https://api.github.com/users/DennisOSRM/orgs","repos_url":"https://api.github.com/users/DennisOSRM/repos","events_url":"https://api.github.com/users/DennisOSRM/events{/privacy}","received_events_url":"https://api.github.com/users/DennisOSRM/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":63,"state":"open","created_at":"2011-09-27T07:10:24Z","updated_at":"2016-03-07T21:29:18Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-05T20:41:13Z","updated_at":"2016-03-07T21:29:18Z","closed_at":"2016-03-07T21:29:18Z","body":"When trying to debug routing problems with OSRM, it's helpful to have some insight into the underlying routing graph.\r\n\r\nThere's a compile time feature `-DDEBUG_GEOMETRY` that enables dumping of a big GeoJSON file with lots of short linestrings with properties showing edge weights and turn penalties.  It can be used to make maps that look like this:\r\n\r\n![screen shot 2016-02-05 at 12 34 38 pm](https://cloud.githubusercontent.com/assets/1892250/12858434/0e3456f4-cc05-11e5-979d-144c2b9815eb.png)\r\n\r\nThe problem is that for large areas, the GeoJSON output is huge: >140GB for North America.\r\n\r\nThis ticket is to roughly describe building a custom tileserver that can generate debugging tiles for slippy maps on-the-fly.\r\n\r\nOutput could be raster files for use with Leaflet, or vector tiles for use with something like Mapbox GL JS.\r\n\r\nBecause of the discarding of data during `osrm-prepare`, I expect this would need to be a standalone server that knows how to load the node-based graph, and potentially any traffic data updates that have been applied by `osrm-prepare`."}}