-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove geojson, go polyline only #3752
Comments
If you're concerned with response sizes and making OSRM leaner we should talk about
|
Hi. Please, do not remove GeoJSON support. I think, that you underestimate what this format means for other developers! I want to add several additional arguments, against removal:
By the way. Where you switched to precision 5? I found only precision 6 in sources. https://github.com/Project-OSRM/osrm-backend/blob/master/include/util/coordinate.hpp#L43 |
@gardster internally everything is precision 6, but when we emit polyline we support the google format of precision 5. We also have |
I think GeoJSON is here to stay after all. |
I think we should remove geojson responses and only go with polylines.
Arguments for removal:
Arguments against removal:
lat,lon
instead of thelon,lat
we use everywhere. This is usually not a problem when developers use libraries for parsing the polyline./cc @TheMarex
The text was updated successfully, but these errors were encountered: