diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-27 14:42:14 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-27 14:42:14 -0800 |
commit | 546fecd850a6e7342a41925b895c1e4275dc7aca (patch) | |
tree | 7edde5e87ab7c686d5540371298a7d414d2895d9 /gps.c | |
parent | 0a91669efe9f3ad217c5cdd220d0d71eba0caf8b (diff) | |
download | subsurface-546fecd850a6e7342a41925b895c1e4275dc7aca.tar.gz |
UTF8 aware parser for some more GPS formats
I'm sure there are better ways to do this, but this appears to grok most
rational formats I was able to find. NSEW or positive/negative numbers.
Decimal degrees (WGS84) or degrees and decimal minutes (that's what most
GPSs seem to provide). I'm sure there are still corner cases that confuse
it, but it seemed reasonably robust in testing.
I don't really love the ';' as separator but that solves the obvious
problem with locales that use a decimal comma.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gps.c')
0 files changed, 0 insertions, 0 deletions