summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Patrick Valsecchi <patrick@thus.ch>2015-02-04 09:30:24 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-10 14:58:04 -0800
commit822cce1ef79507a7a0121a4cb0267b3a04a95c9b (patch)
treef81a2c5cec327b52d892b5b61ea55c7b74ac9b22 /Documentation
parentd47778fcbdb4c1d6a8ef2d3a0e3ec0a2d338cbcf (diff)
downloadsubsurface-822cce1ef79507a7a0121a4cb0267b3a04a95c9b.tar.gz
More tolerant when parsing GPS coordinates.
Refactored the parsing logic to make it more solid (no more guessing) and more flexible (support more formats). Added a test for checking that. Fixed a few warnings. [Dirk Hohndel: some changes to coding style] Signed-off-by: Patrick Valsecchi <patrick@thus.ch> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/user-manual.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index e13ea098e..886c687d7 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -277,6 +277,9 @@ Southern hemisphere latitudes are given with a *S*, e.g. S30°, or with a
negative value, e.g. -30.22496. Similarly western longitudes are given with a
*W*, e.g. W07°, or with a negative value, e.g. -7.34323.
+Some keyboards don't have the degree sign (°). It can be replaced by a d like
+that: N30d W20d.
+
Please note that GPS coordinates of a dive site are linked to the Location
name - so adding coordinates to dives that do not have a location description
will cause unexpected behaviour (Subsurface will think that all of these