aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2019-06-14 09:47:16 +0500
committerAbyss777 <abyss@fox5.ru>2019-06-14 09:47:16 +0500
commit24f44825f155edfa0df574b50105310b7e6421d7 (patch)
tree3f59d2d66c53e653f4c4a7f80fbf2007fb8d94d0 /src/main/java/org/traccar/config
parent2bbdd5604648cb699ef5c713f778b9baf1b0ea2a (diff)
downloadtraccar-server-24f44825f155edfa0df574b50105310b7e6421d7.tar.gz
traccar-server-24f44825f155edfa0df574b50105310b7e6421d7.tar.bz2
traccar-server-24f44825f155edfa0df574b50105310b7e6421d7.zip
Fix coordinates.maxError key and coordinates.filter description
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index a000329e2..2c5dcefd5 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -197,8 +197,9 @@ public final class Keys {
"time.protocols", String.class);
/**
- * Replaces coordinates with last known if change is less than a 'coordinates.error' meters. Helps to avoid
- * coordinates jumps during parking period.
+ * Replaces coordinates with last known if change is less than a 'coordinates.minError' meters
+ * or more than a 'coordinates.maxError' meters. Helps to avoid coordinates jumps during parking period
+ * or jumps to zero coordinates.
*/
public static final ConfigKey COORDINATES_FILTER = new ConfigKey(
"coordinates.filter", Boolean.class);
@@ -214,7 +215,7 @@ public final class Keys {
* Position is also marked as 'invalid'.
*/
public static final ConfigKey COORDINATES_MAX_ERROR = new ConfigKey(
- "filter.maxError", Integer.class);
+ "coordinates.maxError", Integer.class);
/**
* Enable to save device IP addresses information. Disabled by default.