Skip to content
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

fix (_encode_pairs): use dedicated float format #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alaurent34
Copy link

@alaurent34 alaurent34 commented Apr 5, 2024

If just using function str(), it will not force float ot be written without scientific notation. Thus, it will not be accepted by OSRM API.

For example, coordinates '0.0000334622' translate to 3.34622E5 when printed using str, which is not accepted by OSRM

If just using function str(), it will not force float ot be written with scientific notation. Thus, it will not be accepted by OSRM API.

For example, coordinates '0.0000334622' translate to 3.34622E5 when printed using str, which is not accepted by OSRM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant