Merge pull request #3104 from Zahnstocher/patch-15

OSRM now has precision 5, Fix #3055
This commit is contained in:
Hardy 2016-09-22 16:09:35 +02:00 committed by GitHub
commit 35baba1454

View file

@ -15,7 +15,7 @@ public class GeoPolylineParserUtil {
List<LatLon> track = new ArrayList<LatLon>();
int index = 0;
int lat = 0, lng = 0;
double precision = 1E6;
double precision = 1E5;
while (index < encoded.length()) {
int b, shift = 0, result = 0;