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

Commits on Apr 5, 2024

  1. fix (_encode_pairs): use dedicated float format

    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
    alaurent34 authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    df00b5e View commit details
    Browse the repository at this point in the history