diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-01-15 19:18:14 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-01-15 19:18:14 +1300 |
commit | 0f0bcf8bf31723e67d703d8ea67e40a921536d9a (patch) | |
tree | 1f7499f59b5e38040ff1d4b6eb7fbfe9d777eb34 /src/org | |
parent | acfa8dc5368742cd84251e856a8f8199ee247b09 (diff) | |
download | trackermap-server-0f0bcf8bf31723e67d703d8ea67e40a921536d9a.tar.gz trackermap-server-0f0bcf8bf31723e67d703d8ea67e40a921536d9a.tar.bz2 trackermap-server-0f0bcf8bf31723e67d703d8ea67e40a921536d9a.zip |
Convert meitrack speed to knots (fix #514)
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/MeitrackProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
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++))); |