aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-05-09 21:46:42 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-05-09 21:46:42 +1200
commit7ca0f09a4f07ece35e3294f9c22206205940440a (patch)
tree37965bf565fc23282f44c3b4d24dfd389ecf2dc7 /src/org
parent53481fc2c7eafc0550a1468d30be065fbe4e0a1f (diff)
downloadtrackermap-server-7ca0f09a4f07ece35e3294f9c22206205940440a.tar.gz
trackermap-server-7ca0f09a4f07ece35e3294f9c22206205940440a.tar.bz2
trackermap-server-7ca0f09a4f07ece35e3294f9c22206205940440a.zip
Fix Wialon protocol decoder (fix #698)
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/WialonProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WialonProtocolDecoder.java b/src/org/traccar/protocol/WialonProtocolDecoder.java
index 3a1d02c9a..1ece527d8 100644
--- a/src/org/traccar/protocol/WialonProtocolDecoder.java
+++ b/src/org/traccar/protocol/WialonProtocolDecoder.java
@@ -123,7 +123,7 @@ public class WialonProtocolDecoder extends BaseProtocolDecoder {
position.setLongitude(longitude);
// 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++)));