From 577df9d651b16700b820b5aeadfcacd68016ed86 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 13 Apr 2013 11:52:34 +1200 Subject: Convert speed to knots (fix #185) --- src/org/traccar/protocol/WondexProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/traccar/protocol/WondexProtocolDecoder.java b/src/org/traccar/protocol/WondexProtocolDecoder.java index c8e1bd21e..ebae99bb4 100644 --- a/src/org/traccar/protocol/WondexProtocolDecoder.java +++ b/src/org/traccar/protocol/WondexProtocolDecoder.java @@ -92,7 +92,7 @@ public class WondexProtocolDecoder extends BaseProtocolDecoder { // Position data position.setLongitude(Double.valueOf(parser.group(index++))); position.setLatitude(Double.valueOf(parser.group(index++))); - position.setSpeed(Double.valueOf(parser.group(index++))); + position.setSpeed(Double.valueOf(parser.group(index++)) * 0.539957); position.setCourse(Double.valueOf(parser.group(index++))); position.setAltitude(Double.valueOf(parser.group(index++))); -- cgit v1.2.3