From b2e085dd456c89137c458f455b7008d52c6a1da3 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 23 Feb 2017 10:56:45 +0100 Subject: [PATCH] Add gpx speed parser --- OsmAnd/src/net/osmand/plus/GPXUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/GPXUtilities.java b/OsmAnd/src/net/osmand/plus/GPXUtilities.java index b5b0175068..fea3fc8db3 100644 --- a/OsmAnd/src/net/osmand/plus/GPXUtilities.java +++ b/OsmAnd/src/net/osmand/plus/GPXUtilities.java @@ -1166,7 +1166,7 @@ public class GPXUtilities { ((WptPt) parse).comment = readText(parser, "cmt"); } else if (parser.getName().equals("speed") ) { try { - String value = readText(parser, "cmt"); + String value = readText(parser, "speed"); ((WptPt) parse).speed = Float.parseFloat(value); ((WptPt) parse).getExtensionsToWrite().put("speed", value); } catch (NumberFormatException e) {