{"action":"created","issue":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1694","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1694/labels{/name}","comments_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1694/comments","events_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1694/events","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/1694","id":107039308,"number":1694,"title":"Via points in the match instructions","user":{"login":"agruss","id":12281156,"avatar_url":"https://avatars.githubusercontent.com/u/12281156?v=3","gravatar_id":"","url":"https://api.github.com/users/agruss","html_url":"https://github.com/agruss","followers_url":"https://api.github.com/users/agruss/followers","following_url":"https://api.github.com/users/agruss/following{/other_user}","gists_url":"https://api.github.com/users/agruss/gists{/gist_id}","starred_url":"https://api.github.com/users/agruss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agruss/subscriptions","organizations_url":"https://api.github.com/users/agruss/orgs","repos_url":"https://api.github.com/users/agruss/repos","events_url":"https://api.github.com/users/agruss/events{/privacy}","received_events_url":"https://api.github.com/users/agruss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T18:03:06Z","updated_at":"2015-09-18T11:02:02Z","closed_at":"2015-09-18T11:02:02Z","body":"The match-service creates lots of viapoints with the instructions parameter.\r\n\r\nExample:\r\nRequest: \r\n``match?locs=ge{bbBot{pM_v@oi@_mBolA{@sDcGoFgJSkRsDsNgOcQk\\{EkCwLcGwLwB_IbBkMoAs]wQ{E_IcG{h@cj@gzAkRoPw[kf@kWwVoPw[c`@_l@gEoKsb@cj@_]oZ{JoF_N{O_{@os@_v@cVoPwBsq@w[gJ_Igc@gTgJkH_b@cVwe@cQsXsIwQoA_]kM_jAkWsSwB{^_No}@{Tco@cLgJ_Dcj@_Doi@kHco@wBgh@f@sNbBwL?wGcBwe@SwQg@gTsDwGoF{ERkCoASgE?wcAwBcBgESsDsDkMf@cLjCgYvLcGf@sDkHcB{dB?sDbBSwBf@zE?&instructions=true``\r\n\r\nResult:\r\n``\"instructions\":[[\"10\",\"Gartenstraße \\/ K 8\",116,0,6,\"115m\",\"N\",352,1],\r\n[\"9\",\"Gartenstraße \\/ K 8\",219,7,84,\"218m\",\"N\",20,1],\r\n[\"9\",\"Gartenstraße \\/ K 8\",6,14,8,\"5m\",\"NE\",33,1],\r\n[\"9\",\"Gartenstraße \\/ K 8\",17,15,12,\"17m\",\"NE\",32,1],\r\n[\"9\",\"Gartenstraße \\/ K 8\",17,16,16,\"17m\",\"NE\",32,1],\r\n[\"9\",\"Gartenstraße \\/ K 8\",33,17,24,\"33m\",\"NE\",30,1],\r\n[\"9\",\"Gartenstraße \\/ K 8\",33,20,14,\"32m\",\"NE\",28,1],\r\n[\"9\",\"Gartenstraße \\/ K 8\",42,21,7,\"42m\",\"NE\",27,1],\r\n[\"9\",\"Gartenstraße \\/ K 8\",13,23,27,\"13m\",\"NE\",23,1],\r\n[\"9\",\"Gartenstraße \\/ K 8\",26,27,7,\"26m\",\"N\",21,1],...``\r\n\r\nI think the viapoints are a little bit too much, especially when you're displaying them on a map (you can only see the viapoints in this case)."},"comment":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/comments/141418538","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/1694#issuecomment-141418538","issue_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1694","id":141418538,"user":{"login":"TheMarex","id":606968,"avatar_url":"https://avatars.githubusercontent.com/u/606968?v=3","gravatar_id":"","url":"https://api.github.com/users/TheMarex","html_url":"https://github.com/TheMarex","followers_url":"https://api.github.com/users/TheMarex/followers","following_url":"https://api.github.com/users/TheMarex/following{/other_user}","gists_url":"https://api.github.com/users/TheMarex/gists{/gist_id}","starred_url":"https://api.github.com/users/TheMarex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheMarex/subscriptions","organizations_url":"https://api.github.com/users/TheMarex/orgs","repos_url":"https://api.github.com/users/TheMarex/repos","events_url":"https://api.github.com/users/TheMarex/events{/privacy}","received_events_url":"https://api.github.com/users/TheMarex/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T11:02:02Z","updated_at":"2015-09-18T11:02:02Z","body":"It creates a via point for every given input coordinate which is consistent with the behavior of all other plugin that we use. If this does not work for your application you should try to fix it on that level."}}