From 74da80f82085e5c1517a5b05604091814a9c6511 Mon Sep 17 00:00:00 2001 From: Evgeny S Maksimov <me@vragam.net> Date: Sun, 13 Jan 2019 10:30:29 +0300 Subject: Fix altitude factor --- src/org/traccar/protocol/NavisProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/traccar/protocol/NavisProtocolDecoder.java b/src/org/traccar/protocol/NavisProtocolDecoder.java index c91ad3f52..6476d3dfb 100644 --- a/src/org/traccar/protocol/NavisProtocolDecoder.java +++ b/src/org/traccar/protocol/NavisProtocolDecoder.java @@ -195,7 +195,7 @@ public class NavisProtocolDecoder extends BaseProtocolDecoder { if (isFormat(format, F60)) { position.setLatitude(buf.readIntLE() / 600000.0); position.setLongitude(buf.readIntLE() / 600000.0); - position.setAltitude(buf.readIntLE() * 0.01); + position.setAltitude(buf.readIntLE() * 0.1); } else { position.setLatitude(buf.readFloatLE() / Math.PI * 180); position.setLongitude(buf.readFloatLE() / Math.PI * 180); -- cgit v1.2.3