aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config/Keys.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r--src/main/java/org/traccar/config/Keys.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 206295499..c8d3f4ccc 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -70,6 +70,25 @@ public final class Keys {
"event.ignoreDuplicateAlerts", Boolean.class);
/**
+ * If set to true, invalid positions will be considered for motion logic.
+ */
+ public static final ConfigKey EVENT_MOTION_PROCESS_INVALID_POSITIONS = new ConfigKey(
+ "event.motion.processInvalidPositions", Boolean.class);
+
+ /**
+ * If the speed is above specified value, the object is considered to be in motion. Default value is 0.01 knots.
+ */
+ public static final ConfigKey EVENT_MOTION_SPEED_THRESHOLD = new ConfigKey(
+ "event.motion.speedThreshold", Double.class);
+
+ /**
+ * Global polyline geofence distance. Within that distance from the polyline, point is considered within the
+ * geofence. Each individual geofence can also has 'polylineDistance' attribute which will take precedence.
+ */
+ public static final ConfigKey GEOFENCE_POLYLINE_DISTANCE = new ConfigKey(
+ "geofence.polylineDistance", Double.class);
+
+ /**
* List of external handler classes to use in Netty pipeline.
*/
public static final ConfigKey EXTRA_HANDLERS = new ConfigKey(