From 0f0bcf8bf31723e67d703d8ea67e40a921536d9a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 15 Jan 2014 19:18:14 +1300 Subject: Convert meitrack speed to knots (fix #514) --- src/org/traccar/protocol/MeitrackProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/org/traccar/protocol/MeitrackProtocolDecoder.java index 3cf822000..71a5a61c1 100644 --- a/src/org/traccar/protocol/MeitrackProtocolDecoder.java +++ b/src/org/traccar/protocol/MeitrackProtocolDecoder.java @@ -108,7 +108,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder { extendedInfo.set("gsm", parser.group(index++)); // Speed - position.setSpeed(Double.valueOf(parser.group(index++))); + position.setSpeed(Double.valueOf(parser.group(index++)) * 0.539957); // Course position.setCourse(Double.valueOf(parser.group(index++))); -- cgit v1.2.3