{"action":"created","issue":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3752","repository_url":"https://api.github.com/repos/Project-OSRM/osrm-backend","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3752/labels{/name}","comments_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3752/comments","events_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3752/events","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/3752","id":210464981,"number":3752,"title":"Remove geojson, go polyline only","user":{"login":"freenerd","id":25713,"avatar_url":"https://avatars.githubusercontent.com/u/25713?v=3","gravatar_id":"","url":"https://api.github.com/users/freenerd","html_url":"https://github.com/freenerd","followers_url":"https://api.github.com/users/freenerd/followers","following_url":"https://api.github.com/users/freenerd/following{/other_user}","gists_url":"https://api.github.com/users/freenerd/gists{/gist_id}","starred_url":"https://api.github.com/users/freenerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freenerd/subscriptions","organizations_url":"https://api.github.com/users/freenerd/orgs","repos_url":"https://api.github.com/users/freenerd/repos","events_url":"https://api.github.com/users/freenerd/events{/privacy}","received_events_url":"https://api.github.com/users/freenerd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-27T12:02:00Z","updated_at":"2017-02-27T12:18:47Z","closed_at":null,"body":"I think we should remove geojson responses and only go with polylines.\r\n\r\nArguments for removal:\r\n\r\n- Polylines are way faster to transfer, especially with big responses the cost of serializing and transferring geojson is huge.\r\n- There are easy to use polyline encoders available for all major platforms.\r\n- Removing parameter and code paths makes OSRM leaner and easier to develop.\r\n\r\nArguments against removal:\r\n\r\n- For developers to get started, Geojson is easier to work with than Polyline\r\n- There is confusion around the polyline coordinate order (it's `lat,lon` instead of the `lon,lat` we use everywhere. This is usually not a problem when developers use libraries for parsing the polyline.\r\n- There is confusion around polyline precision, but since we switched to the standard precision 5 this should be fine now.\r\n\r\n/cc @TheMarex \r\n"},"comment":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/comments/282705055","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/3752#issuecomment-282705055","issue_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3752","id":282705055,"user":{"login":"daniel-j-h","id":527241,"avatar_url":"https://avatars.githubusercontent.com/u/527241?v=3","gravatar_id":"","url":"https://api.github.com/users/daniel-j-h","html_url":"https://github.com/daniel-j-h","followers_url":"https://api.github.com/users/daniel-j-h/followers","following_url":"https://api.github.com/users/daniel-j-h/following{/other_user}","gists_url":"https://api.github.com/users/daniel-j-h/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-j-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-j-h/subscriptions","organizations_url":"https://api.github.com/users/daniel-j-h/orgs","repos_url":"https://api.github.com/users/daniel-j-h/repos","events_url":"https://api.github.com/users/daniel-j-h/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-j-h/received_events","type":"User","site_admin":false},"created_at":"2017-02-27T12:18:47Z","updated_at":"2017-02-27T12:18:47Z","body":"If you're concerned with response sizes and making OSRM leaner we should talk about\r\n\r\n- No JSON only C++ types in the libosrm API https://github.com/Project-OSRM/osrm-backend/issues/2029\r\n- node-osrm bindings can then decide on response format and e.g. also provide Protobuf blobs"}}
{"actor":{"display_login":"daniel-j-h"}}