aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/Parser.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/helper/Parser.java')
-rw-r--r--src/org/traccar/helper/Parser.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/traccar/helper/Parser.java b/src/org/traccar/helper/Parser.java
index 7694a9623..ef972600b 100644
--- a/src/org/traccar/helper/Parser.java
+++ b/src/org/traccar/helper/Parser.java
@@ -81,6 +81,7 @@ public class Parser {
public enum CoordinateFormat {
DEG_MIN_HEM,
HEM_DEG,
+ HEM_DEG_MIN,
HEM_DEG_MIN_HEM
}
@@ -93,6 +94,11 @@ public class Parser {
hemisphere = next();
coordinate = nextDouble();
break;
+ case HEM_DEG_MIN:
+ hemisphere = next();
+ coordinate = nextInt();
+ coordinate += nextDouble() / 60;
+ break;
case HEM_DEG_MIN_HEM:
hemisphere = next();
coordinate = nextInt();