aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config/Keys.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-04-29 13:56:51 -0700
committerAnton Tananaev <anton@traccar.org>2023-04-29 13:56:51 -0700
commit03cebd3191a9c27c4b38e585b323d5c8d6868571 (patch)
tree6678635e1b4bff7c41de557a0f3c8f0b9ee357c2 /src/main/java/org/traccar/config/Keys.java
parent2b3c1be84310e2c7c6a3dff4ec37be2560af772e (diff)
downloadtrackermap-server-03cebd3191a9c27c4b38e585b323d5c8d6868571.tar.gz
trackermap-server-03cebd3191a9c27c4b38e585b323d5c8d6868571.tar.bz2
trackermap-server-03cebd3191a9c27c4b38e585b323d5c8d6868571.zip
Add outdated position filter
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r--src/main/java/org/traccar/config/Keys.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 8ced32153..c69289403 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -1239,6 +1239,14 @@ public final class Keys {
List.of(KeyType.CONFIG));
/**
+ * Filter messages that do not have GPS location. If they are not filtered, they will include the last known
+ * location.
+ */
+ public static final ConfigKey<Boolean> FILTER_OUTDATED = new BooleanConfigKey(
+ "filter.outdated",
+ List.of(KeyType.CONFIG));
+
+ /**
* Filter records with fix time in the future. The value is specified in seconds. Records that have fix time more
* than the specified number of seconds later than current server time would be filtered out.
*/