diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-06-13 22:14:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-13 22:14:21 -0700 |
commit | 3d0f504a8ea511008b3991d301976d9eb921d9b7 (patch) | |
tree | 3f59d2d66c53e653f4c4a7f80fbf2007fb8d94d0 /src/main/java/org/traccar | |
parent | 2bbdd5604648cb699ef5c713f778b9baf1b0ea2a (diff) | |
parent | 24f44825f155edfa0df574b50105310b7e6421d7 (diff) | |
download | trackermap-server-3d0f504a8ea511008b3991d301976d9eb921d9b7.tar.gz trackermap-server-3d0f504a8ea511008b3991d301976d9eb921d9b7.tar.bz2 trackermap-server-3d0f504a8ea511008b3991d301976d9eb921d9b7.zip |
Merge pull request #4333 from Abyss777/fix_coordinates_keys
Fix coordinates.maxError key and coordinates.filter description
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 7 |
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. |