aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/OsmAndProtocolDecoder.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-01-16 13:51:40 +0500
committerAbyss777 <abyss@fox5.ru>2017-01-16 13:51:40 +0500
commitb5eb48cbba215ca55c1a5e5ae5fae5b375243247 (patch)
tree64a25006deb6635853c0cc727db201f088566347 /src/org/traccar/protocol/OsmAndProtocolDecoder.java
parentcffbce4b3bc5ef817c4063a74f148a2a5986d58a (diff)
parent00caa503748a1dad3349bfb8444ef766efd60633 (diff)
downloadtrackermap-server-b5eb48cbba215ca55c1a5e5ae5fae5b375243247.tar.gz
trackermap-server-b5eb48cbba215ca55c1a5e5ae5fae5b375243247.tar.bz2
trackermap-server-b5eb48cbba215ca55c1a5e5ae5fae5b375243247.zip
Merge remote-tracking branch 'upstream/master' into manager
# Conflicts: # setup/default.xml
Diffstat (limited to 'src/org/traccar/protocol/OsmAndProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/OsmAndProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/OsmAndProtocolDecoder.java b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
index 5508cad92..382865e8f 100644
--- a/src/org/traccar/protocol/OsmAndProtocolDecoder.java
+++ b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
@@ -119,6 +119,9 @@ public class OsmAndProtocolDecoder extends BaseProtocolDecoder {
case "altitude":
position.setAltitude(Double.parseDouble(value));
break;
+ case "accuracy":
+ position.setAccuracy(Double.parseDouble(value));
+ break;
case "hdop":
position.set(Position.KEY_HDOP, Double.parseDouble(value));
break;