aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/OrionProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-12-31 11:30:39 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-12-31 11:30:39 +1300
commitc241127ab32eab9a63cc04fdbd99c08fa0e7b25f (patch)
treecb7579dc6a3779aa23b23262cd6611d34e1a1eb0 /src/org/traccar/protocol/OrionProtocolDecoder.java
parentfaeecdffcf78783ee030d0f9060e1f7656f9f707 (diff)
downloadtrackermap-server-c241127ab32eab9a63cc04fdbd99c08fa0e7b25f.tar.gz
trackermap-server-c241127ab32eab9a63cc04fdbd99c08fa0e7b25f.tar.bz2
trackermap-server-c241127ab32eab9a63cc04fdbd99c08fa0e7b25f.zip
Fix Orion negative coordites
Diffstat (limited to 'src/org/traccar/protocol/OrionProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/OrionProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/OrionProtocolDecoder.java b/src/org/traccar/protocol/OrionProtocolDecoder.java
index 6ba665614..f20bb6d72 100644
--- a/src/org/traccar/protocol/OrionProtocolDecoder.java
+++ b/src/org/traccar/protocol/OrionProtocolDecoder.java
@@ -53,7 +53,7 @@ public class OrionProtocolDecoder extends BaseProtocolDecoder {
private static double convertCoordinate(int value) {
double degrees = value / 1000000;
- double minutes = (Math.abs(value) % 1000000) / 10000.0;
+ double minutes = (value % 1000000) / 10000.0;
return degrees + minutes / 60;
}