aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-24 12:12:19 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-24 12:12:19 -0800
commita8566c997d27bf22ee0debad7b9b8c2db9325a43 (patch)
treeb6c272d45342781c72fa5c3b4fd6434c482c6f42 /src/org/traccar/config
parent6d98e878f9ccd5b49a97ce7c04bbc4178e482fff (diff)
downloadtrackermap-server-a8566c997d27bf22ee0debad7b9b8c2db9325a43.tar.gz
trackermap-server-a8566c997d27bf22ee0debad7b9b8c2db9325a43.tar.bz2
trackermap-server-a8566c997d27bf22ee0debad7b9b8c2db9325a43.zip
Refactor hemisphere handler
Diffstat (limited to 'src/org/traccar/config')
-rw-r--r--src/org/traccar/config/Keys.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/org/traccar/config/Keys.java b/src/org/traccar/config/Keys.java
index 9347341b0..fddc70bba 100644
--- a/src/org/traccar/config/Keys.java
+++ b/src/org/traccar/config/Keys.java
@@ -213,6 +213,20 @@ public final class Keys {
public static final ConfigKey GEOLOCATION_PROCESS_INVALID_POSITIONS = new ConfigKey(
"geolocation.processInvalidPositions", Boolean.class);
+ /**
+ * Override latitude sign / hemisphere. Useful in cases where value is incorrect because of device bug. Value can be
+ * N for North or S for South.
+ */
+ public static final ConfigKey LOCATION_LATITUDE_HEMISPHERE = new ConfigKey(
+ "location.latitudeHemisphere", Boolean.class);
+
+ /**
+ * Override longitude sign / hemisphere. Useful in cases where value is incorrect because of device bug. Value can
+ * be E for East or W for West.
+ */
+ public static final ConfigKey LOCATION_LONGITUDE_HEMISPHERE = new ConfigKey(
+ "location.longitudeHemisphere", Boolean.class);
+
private Keys() {
}