diff options
author | Anton Tananaev <anton@traccar.org> | 2022-04-30 09:30:43 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-04-30 09:30:43 -0700 |
commit | 94fa65d6961fc369923b11a60758b83ac7c3ecae (patch) | |
tree | 2b50ee0373bdd3448a4a52ce31ab98a78f03f672 /src/main/java/org/traccar/helper/Parser.java | |
parent | c10e8132c4dc4a78b3440725516ffaaec6834406 (diff) | |
download | trackermap-server-94fa65d6961fc369923b11a60758b83ac7c3ecae.tar.gz trackermap-server-94fa65d6961fc369923b11a60758b83ac7c3ecae.tar.bz2 trackermap-server-94fa65d6961fc369923b11a60758b83ac7c3ecae.zip |
Fix Envotech location
Diffstat (limited to 'src/main/java/org/traccar/helper/Parser.java')
-rw-r--r-- | src/main/java/org/traccar/helper/Parser.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/helper/Parser.java b/src/main/java/org/traccar/helper/Parser.java index 75106e2ba..22e98ded1 100644 --- a/src/main/java/org/traccar/helper/Parser.java +++ b/src/main/java/org/traccar/helper/Parser.java @@ -155,6 +155,7 @@ public class Parser { public enum CoordinateFormat { DEG_DEG, + DEG_DEG_HEM, DEG_HEM, DEG_MIN_MIN, DEG_MIN_HEM, @@ -173,6 +174,10 @@ public class Parser { case DEG_DEG: coordinate = Double.parseDouble(next() + '.' + next()); break; + case DEG_DEG_HEM: + coordinate = Double.parseDouble(next() + '.' + next()); + hemisphere = next(); + break; case DEG_HEM: coordinate = nextDouble(0); hemisphere = next(); |