aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config/Keys.java
diff options
context:
space:
mode:
authorsoshial <soshial@gmail.com>2021-09-12 05:23:12 +0200
committersoshial <soshial@gmail.com>2021-09-12 05:23:12 +0200
commitd9ad81991da306dcae35bb6b7ba7f90c6d6b8725 (patch)
tree62a61eef60ef195479e6aa297e016b3c055bb26c /src/main/java/org/traccar/config/Keys.java
parent2a5bf04563ecc8b09f07a0007335bbd111f9c0a2 (diff)
downloadtrackermap-server-d9ad81991da306dcae35bb6b7ba7f90c6d6b8725.tar.gz
trackermap-server-d9ad81991da306dcae35bb6b7ba7f90c6d6b8725.tar.bz2
trackermap-server-d9ad81991da306dcae35bb6b7ba7f90c6d6b8725.zip
filtering optimizations
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r--src/main/java/org/traccar/config/Keys.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index f7d61a993..c6a202d2f 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -872,8 +872,11 @@ public final class Keys {
Collections.singletonList(KeyType.GLOBAL));
/**
- * Filter records by Maximum Speed value in knots. Can be used to filter jumps to far locations even if they're
- * marked as valid. Shouldn't be too low. Start testing with values at about 25000.
+ * Filter records by Maximum Speed value in knots. Can be used to filter jumps to far locations even if Position
+ * appears valid or if Position `speed` field reported by the device is also within limits. Calculates speed from
+ * the distance to the previous position and the elapsed time.
+ *
+ * Tip: Shouldn't be too low. Start testing with values at about 25000.
*/
public static final ConfigKey<Integer> FILTER_MAX_SPEED = new ConfigKey<>(
"filter.maxSpeed",