aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-04-13 11:52:34 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-04-13 11:52:34 +1200
commit577df9d651b16700b820b5aeadfcacd68016ed86 (patch)
treece877bf4dc57ec01b0d21e1afba7368fee21afc3 /src/org/traccar/protocol
parent570cd3cbd9290df1388eb8be6e4b2636afc33951 (diff)
downloadtrackermap-server-577df9d651b16700b820b5aeadfcacd68016ed86.tar.gz
trackermap-server-577df9d651b16700b820b5aeadfcacd68016ed86.tar.bz2
trackermap-server-577df9d651b16700b820b5aeadfcacd68016ed86.zip
Convert speed to knots (fix #185)
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/WondexProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
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++)));