From 4c9a2920a1eeb54fb8b551b4e7e81ddcb5949511 Mon Sep 17 00:00:00 2001 From: Zahnstocher Date: Wed, 21 Sep 2016 13:27:56 +0200 Subject: [PATCH] OSRM now has precision 5, Fix #3055 https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md --- OsmAnd-java/src/net/osmand/util/GeoPolylineParserUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/util/GeoPolylineParserUtil.java b/OsmAnd-java/src/net/osmand/util/GeoPolylineParserUtil.java index 7209dfc60a..eee0faeaa8 100644 --- a/OsmAnd-java/src/net/osmand/util/GeoPolylineParserUtil.java +++ b/OsmAnd-java/src/net/osmand/util/GeoPolylineParserUtil.java @@ -15,7 +15,7 @@ public class GeoPolylineParserUtil { List track = new ArrayList(); int index = 0; int lat = 0, lng = 0; - double precision = 1E6; + double precision = 1E5; while (index < encoded.length()) { int b, shift = 0, result = 0;