diff options
Diffstat (limited to 'src/org/traccar/helper')
-rw-r--r-- | src/org/traccar/helper/Parser.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/org/traccar/helper/Parser.java b/src/org/traccar/helper/Parser.java index f70fe2e89..bda7d6366 100644 --- a/src/org/traccar/helper/Parser.java +++ b/src/org/traccar/helper/Parser.java @@ -87,6 +87,7 @@ public class Parser { } public enum CoordinateFormat { + DEG_HEM, DEG_MIN_HEM, DEG_MIN_MIN_HEM, HEM_DEG, @@ -99,6 +100,10 @@ public class Parser { String hemisphere; switch (format) { + case DEG_HEM: + coordinate = nextDouble(); + hemisphere = next(); + break; case DEG_MIN_MIN_HEM: coordinate = nextInt(); coordinate += Double.parseDouble(next() + '.' + next()) / 60; |