Closed DenisCarriere closed 6 years ago
Number
Started to match all the Id's of the *.intersection.pbf file and I've been getting some errors with the following (396 passes, 12 failing):
*.intersection.pbf
Issue: Javascript was having an issue rounding the last decimals to 6 decimals.
Solution: I've included bignumber.js to handle that precision issue and reran the tests and now have 0 (zero) failing test cases.
bignumber.js
https://github.com/MikeMcl/bignumber.js/
Javascript rounding
Number
issueStarted to match all the Id's of the
*.intersection.pbf
file and I've been getting some errors with the following (396 passes, 12 failing):Issue: Javascript was having an issue rounding the last decimals to 6 decimals.
Solution: I've included
bignumber.js
to handle that precision issue and reran the tests and now have 0 (zero) failing test cases.https://github.com/MikeMcl/bignumber.js/
Failing results (before including
bignumber.js
)Intersection -74.004250 40.756510
Intersection -74.006338 40.722313
Intersection -74.009092 40.726002
Intersection -74.008401 40.714368
Intersection -74.010351 40.718802
Intersection -74.009901 40.726081
Intersection -74.005243 40.715156
Intersection -74.006569 40.749541
Intersection -74.012744 40.714247
Intersection -74.015231 40.716008
Intersection-74.009651 40.722794
Intersection -74.007808 40.731780