aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorEvgeny S Maksimov <me@vragam.net>2019-01-13 10:30:29 +0300
committerEvgeny S Maksimov <me@vragam.net>2019-01-13 10:30:29 +0300
commit74da80f82085e5c1517a5b05604091814a9c6511 (patch)
tree120cb2cc1fb0d8c124d863ed80d21bab06a512ec /src/org/traccar
parent0786211431b2c79e0982a073e417a66d15f14ef4 (diff)
downloadtrackermap-server-74da80f82085e5c1517a5b05604091814a9c6511.tar.gz
trackermap-server-74da80f82085e5c1517a5b05604091814a9c6511.tar.bz2
trackermap-server-74da80f82085e5c1517a5b05604091814a9c6511.zip
Fix altitude factor
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/NavisProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
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);