{"action":"closed","issue":{"url":"https://api.github.com/repos/jcoupey/vroom/issues/12","labels_url":"https://api.github.com/repos/jcoupey/vroom/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/jcoupey/vroom/issues/12/comments","events_url":"https://api.github.com/repos/jcoupey/vroom/issues/12/events","html_url":"https://github.com/jcoupey/vroom/issues/12","id":116563774,"number":12,"title":"Add route to result from problem solved with OSRM","user":{"login":"frodrigo","id":1785486,"avatar_url":"https://avatars.githubusercontent.com/u/1785486?v=3","gravatar_id":"","url":"https://api.github.com/users/frodrigo","html_url":"https://github.com/frodrigo","followers_url":"https://api.github.com/users/frodrigo/followers","following_url":"https://api.github.com/users/frodrigo/following{/other_user}","gists_url":"https://api.github.com/users/frodrigo/gists{/gist_id}","starred_url":"https://api.github.com/users/frodrigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frodrigo/subscriptions","organizations_url":"https://api.github.com/users/frodrigo/orgs","repos_url":"https://api.github.com/users/frodrigo/repos","events_url":"https://api.github.com/users/frodrigo/events{/privacy}","received_events_url":"https://api.github.com/users/frodrigo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-12T14:51:05Z","updated_at":"2015-11-12T15:36:40Z","closed_at":"2015-11-12T15:36:40Z","body":"Add `route` to JSON result from problem solved with OSRM. Rematching the lat/lon number truncated with the initial input data is not so simple. Please can you output the `route` attribut as well, something like in the TSP loader.\r\n\r\n```\r\n    route += \"\\\"tour\\\":[\";\r\n    for(auto const& step: tour){\r\n      // Using rank rather than index to describe places.\r\n      route += std::to_string(step + 1) + \",\";\r\n    }\r\n    route.pop_back();          // Remove trailing comma.\r\n    route += \"],\";\r\n```\r\n"}}