diff --git a/OsmAnd/src/net/osmand/plus/GPXUtilities.java b/OsmAnd/src/net/osmand/plus/GPXUtilities.java index 422b9d67f9..b5b0175068 100644 --- a/OsmAnd/src/net/osmand/plus/GPXUtilities.java +++ b/OsmAnd/src/net/osmand/plus/GPXUtilities.java @@ -1164,6 +1164,14 @@ public class GPXUtilities { ((WptPt) parse).desc = readText(parser, "desc"); } else if (parser.getName().equals("cmt")) { ((WptPt) parse).comment = readText(parser, "cmt"); + } else if (parser.getName().equals("speed") ) { + try { + String value = readText(parser, "cmt"); + ((WptPt) parse).speed = Float.parseFloat(value); + ((WptPt) parse).getExtensionsToWrite().put("speed", value); + } catch (NumberFormatException e) { + } + } } else if (parser.getName().equals("link")) { ((WptPt) parse).link = parser.getAttributeValue("", "href"); } else if (tag.equals("category")) {