osrm-py
osrm-py copied to clipboard
fix (_encode_pairs): use dedicated float format
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