Precision may x10 coordinates
See original GitHub issue@jfirebaugh @jlivni reports we may be x10’ing coordinates in the Directions API polyline encoding. Might this be the factor bit here? https://github.com/mapbox/polyline/blob/master/src/polyline.js#L77
Issue Analytics
- State:
- Created 9 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Choosing the resolution and domain of a low-precision spatial ...
About x,y resolution and domain. A low-precision geodatabase stores coordinates as positive 4-byte integers that have a maximum value of 2,147,483,647. It may ......
Read more >Understanding Coordinate Management in the Geodatabase
Explain how feature coordinates for vector-based geographic data are stored and managed within the geodatabase. 3. Discuss data migration ...
Read more >OpenGL texture coordinates and the precision of small floats
OpenGL likes things in this range, and I'm fine specifying coordinates this way, but I'm concerned when I start using larger textures (say...
Read more >Datums - Map Coordinate Reference Frames
The basic fact is: the coordinates of all locations on the earth are on datums. At high accuracy the coordinates of a point,...
Read more >Ten Minute Block Coordinate Precision and Other Location ...
The 10-minute block highlighted in the image would have a Decimal Degree value of 39.08333 -76.08333 and a truncated Degrees, Minutes, Seconds (DMS)...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I just came across this issue myself and after some digging finally found the answer here about the precision value. It might be helpful for others as well to show the precision in an example on the main page to highlight the difference between Mapbox Directions and Google Maps.
Derp you are absolutely correct, sorry about that. I was using some buggy python code to test it at first, without actually thinking; should have stayed on vacation 😉